Package org.lwjgl.openvr
Class VRSkeletalSummaryData
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
Contains summary information about the current skeletal pose.
Layout
struct VRSkeletalSummaryData_t {
float flFingerCurl()
[5];
float flFingerSplay()
[4];
}
-
Nested Class Summary
Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorDescriptionVRSkeletalSummaryData
(ByteBuffer container) Creates aVRSkeletalSummaryData
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic VRSkeletalSummaryData
calloc()
Returns a newVRSkeletalSummaryData
instance allocated withmemCalloc
.static VRSkeletalSummaryData.Buffer
calloc
(int capacity) Returns a newVRSkeletalSummaryData.Buffer
instance allocated withmemCalloc
.static VRSkeletalSummaryData.Buffer
calloc
(int capacity, MemoryStack stack) Returns a newVRSkeletalSummaryData.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VRSkeletalSummaryData
calloc
(MemoryStack stack) Returns a newVRSkeletalSummaryData
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VRSkeletalSummaryData
Deprecated.static VRSkeletalSummaryData.Buffer
callocStack
(int capacity) Deprecated.static VRSkeletalSummaryData.Buffer
callocStack
(int capacity, MemoryStack stack) Deprecated.static VRSkeletalSummaryData
callocStack
(MemoryStack stack) Deprecated.static VRSkeletalSummaryData
create()
Returns a newVRSkeletalSummaryData
instance allocated withBufferUtils
.static VRSkeletalSummaryData.Buffer
create
(int capacity) Returns a newVRSkeletalSummaryData.Buffer
instance allocated withBufferUtils
.static VRSkeletalSummaryData
create
(long address) Returns a newVRSkeletalSummaryData
instance for the specified memory address.static VRSkeletalSummaryData.Buffer
create
(long address, int capacity) Create aVRSkeletalSummaryData.Buffer
instance at the specified memory.static VRSkeletalSummaryData
createSafe
(long address) static VRSkeletalSummaryData.Buffer
createSafe
(long address, int capacity) The amount that each finger is 'curled' inwards towards the palm.float
flFingerCurl
(int index) The amount that each finger is 'curled' inwards towards the palm.The amount that each pair of adjacent fingers are separated.float
flFingerSplay
(int index) The amount that each pair of adjacent fingers are separated.static VRSkeletalSummaryData
malloc()
Returns a newVRSkeletalSummaryData
instance allocated withmemAlloc
.static VRSkeletalSummaryData.Buffer
malloc
(int capacity) Returns a newVRSkeletalSummaryData.Buffer
instance allocated withmemAlloc
.static VRSkeletalSummaryData.Buffer
malloc
(int capacity, MemoryStack stack) Returns a newVRSkeletalSummaryData.Buffer
instance allocated on the specifiedMemoryStack
.static VRSkeletalSummaryData
malloc
(MemoryStack stack) Returns a newVRSkeletalSummaryData
instance allocated on the specifiedMemoryStack
.static VRSkeletalSummaryData
Deprecated.static VRSkeletalSummaryData.Buffer
mallocStack
(int capacity) Deprecated.static VRSkeletalSummaryData.Buffer
mallocStack
(int capacity, MemoryStack stack) Deprecated.static VRSkeletalSummaryData
mallocStack
(MemoryStack stack) Deprecated.static FloatBuffer
nflFingerCurl
(long struct) Unsafe version offlFingerCurl()
.static float
nflFingerCurl
(long struct, int index) Unsafe version offlFingerCurl
.static FloatBuffer
nflFingerSplay
(long struct) Unsafe version offlFingerSplay()
.static float
nflFingerSplay
(long struct, int index) Unsafe version offlFingerSplay
.int
sizeof()
Returnssizeof(struct)
.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
FLFINGERCURL
public static final int FLFINGERCURLThe struct member offsets. -
FLFINGERSPLAY
public static final int FLFINGERSPLAYThe struct member offsets.
-
-
Constructor Details
-
VRSkeletalSummaryData
Creates aVRSkeletalSummaryData
instance at the current position of the specifiedByteBuffer
container. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<VRSkeletalSummaryData>
-
flFingerCurl
The amount that each finger is 'curled' inwards towards the palm.In the case of the thumb, this represents how much the thumb is wrapped around the fist. 0 means straight, 1 means fully curled.
-
flFingerCurl
public float flFingerCurl(int index) The amount that each finger is 'curled' inwards towards the palm.In the case of the thumb, this represents how much the thumb is wrapped around the fist. 0 means straight, 1 means fully curled.
-
flFingerSplay
The amount that each pair of adjacent fingers are separated.0 means the digits are touching, 1 means they are fully separated.
-
flFingerSplay
public float flFingerSplay(int index) The amount that each pair of adjacent fingers are separated.0 means the digits are touching, 1 means they are fully separated.
-
malloc
Returns a newVRSkeletalSummaryData
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVRSkeletalSummaryData
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVRSkeletalSummaryData
instance allocated withBufferUtils
. -
create
Returns a newVRSkeletalSummaryData
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVRSkeletalSummaryData.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVRSkeletalSummaryData.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVRSkeletalSummaryData.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aVRSkeletalSummaryData.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)
instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)
instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)
instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)
instead. -
malloc
Returns a newVRSkeletalSummaryData
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVRSkeletalSummaryData
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newVRSkeletalSummaryData.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newVRSkeletalSummaryData.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nflFingerCurl
Unsafe version offlFingerCurl()
. -
nflFingerCurl
public static float nflFingerCurl(long struct, int index) Unsafe version offlFingerCurl
. -
nflFingerSplay
Unsafe version offlFingerSplay()
. -
nflFingerSplay
public static float nflFingerSplay(long struct, int index) Unsafe version offlFingerSplay
.
-