value is specified as a limit in a single direction. For example, if the value specified is 0.5, a location must have free movement from the point where it would be incapable of movement if value was 1, to 0.5 of the range the location is capable of moving.
XR_MNDX_force_feedback_curl extension must be enabled prior to using XrForceFeedbackCurlApplyLocationMNDXlocation must be a valid XrForceFeedbackCurlLocationMNDX valueXrForceFeedbackCurlApplyLocationsMNDX, ApplyForceFeedbackCurlMNDX
struct XrForceFeedbackCurlApplyLocationMNDX {
XrForceFeedbackCurlLocationMNDX location;
float value;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrForceFeedbackCurlApplyLocationMNDX.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | LOCATION
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | VALUE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrForceFeedbackCurlApplyLocationMNDX(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrForceFeedbackCurlApplyLocationMNDX | |
| public static XrForceFeedbackCurlApplyLocationMNDX. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrForceFeedbackCurlApplyLocationMNDX | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrForceFeedbackCurlApplyLocationMNDX. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrForceFeedbackCurlApplyLocationMNDX | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static XrForceFeedbackCurlApplyLocationMNDX | |
| public static XrForceFeedbackCurlApplyLocationMNDX | create(long address)
Returns a new |
| public static XrForceFeedbackCurlApplyLocationMNDX. | create(int
the buffer capacity capacity)Returns a new |
| public static XrForceFeedbackCurlApplyLocationMNDX. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrForceFeedbackCurlApplyLocationMNDX | |
| public static XrForceFeedbackCurlApplyLocationMNDX. | |
| public int | |
| public XrForceFeedbackCurlApplyLocationMNDX | |
| public static XrForceFeedbackCurlApplyLocationMNDX | |
| public static XrForceFeedbackCurlApplyLocationMNDX. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrForceFeedbackCurlApplyLocationMNDX | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrForceFeedbackCurlApplyLocationMNDX. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | |
| public static float | |
| public static void | |
| public XrForceFeedbackCurlApplyLocationMNDX | |
| public XrForceFeedbackCurlApplyLocationMNDX | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public float | |
| public XrForceFeedbackCurlApplyLocationMNDX |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| LOCATION | back to summary |
|---|---|
| public static final int LOCATION The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VALUE | back to summary |
|---|---|
| public static final int VALUE The struct member offsets. | |
| XrForceFeedbackCurlApplyLocationMNDX | back to summary |
|---|---|
| protected XrForceFeedbackCurlApplyLocationMNDX(long address, ByteBuffer container) | |
| XrForceFeedbackCurlApplyLocationMNDX | back to summary |
|---|---|
| public XrForceFeedbackCurlApplyLocationMNDX(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XrForceFeedbackCurlApplyLocationMNDX calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrForceFeedbackCurlApplyLocationMNDX. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrForceFeedbackCurlApplyLocationMNDX calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrForceFeedbackCurlApplyLocationMNDX. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrForceFeedbackCurlApplyLocationMNDX create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrForceFeedbackCurlApplyLocationMNDX create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrForceFeedbackCurlApplyLocationMNDX create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrForceFeedbackCurlApplyLocationMNDX. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrForceFeedbackCurlApplyLocationMNDX. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XrForceFeedbackCurlApplyLocationMNDX createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrForceFeedbackCurlApplyLocationMNDX. Like
| |
| location | back to summary |
|---|---|
| public int location() represents the location to apply force feedback to.
| |
| location | back to summary |
|---|---|
| public XrForceFeedbackCurlApplyLocationMNDX location(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static XrForceFeedbackCurlApplyLocationMNDX malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrForceFeedbackCurlApplyLocationMNDX. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrForceFeedbackCurlApplyLocationMNDX malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrForceFeedbackCurlApplyLocationMNDX. Returns a new
| |
| nlocation | back to summary |
|---|---|
| public static int nlocation(long struct) Unsafe version of | |
| nlocation | back to summary |
|---|---|
| public static void nlocation(long struct, int value) Unsafe version of | |
| nvalue | back to summary |
|---|---|
| public static float nvalue(long struct) Unsafe version of | |
| nvalue | back to summary |
|---|---|
| public static void nvalue(long struct, float value) Unsafe version of | |
| set | back to summary |
|---|---|
| public XrForceFeedbackCurlApplyLocationMNDX set(int location, float value) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrForceFeedbackCurlApplyLocationMNDX set(XrForceFeedbackCurlApplyLocationMNDX src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| value | back to summary |
|---|---|
| public float value() a value from 0-1 representing the amount of force feedback to apply. The range of the value should represent the entire range the location is capable of moving through, with 1 representing making the location incapable of movement, and 0 being fully flexible. For example, in the case of a finger curl, setting | |
| value | back to summary |
|---|---|
| public XrForceFeedbackCurlApplyLocationMNDX value(float value) Sets the specified value to the | |
XrForceFeedbackCurlApplyLocationMNDX structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrForceFeedbackCurlApplyLocationMNDX |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected XrForceFeedbackCurlApplyLocationMNDX | |
| public int | |
| public XrForceFeedbackCurlApplyLocationMNDX. | location(int value)
Sets the specified value to the |
| protected XrForceFeedbackCurlApplyLocationMNDX. | |
| public float | |
| public XrForceFeedbackCurlApplyLocationMNDX. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrForceFeedbackCurlApplyLocationMNDX ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| getElementFactory | back to summary |
|---|---|
| protected XrForceFeedbackCurlApplyLocationMNDX getElementFactory() Implements abstract org.
| |
| location | back to summary |
|---|---|
public int location()
| |
| location | back to summary |
|---|---|
| public XrForceFeedbackCurlApplyLocationMNDX. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected XrForceFeedbackCurlApplyLocationMNDX. Implements abstract org.
| |
| value | back to summary |
|---|---|
public float value()
| |
| value | back to summary |
|---|---|
| public XrForceFeedbackCurlApplyLocationMNDX. Sets the specified value to the | |