Package org.lwjgl.openvr
Class VRSkeletalSummaryData
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VRSkeletalSummaryData>
org.lwjgl.openvr.VRSkeletalSummaryData
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VRSkeletalSummaryData
extends org.lwjgl.system.Struct<VRSkeletalSummaryData>
implements org.lwjgl.system.NativeResource
Contains summary information about the current skeletal pose.
Layout
struct VRSkeletalSummaryData_t {
float flFingerCurl()[5];
float flFingerSplay()[4];
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVRSkeletalSummaryData(ByteBuffer container) Creates aVRSkeletalSummaryDatainstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic VRSkeletalSummaryDatacalloc()Returns a newVRSkeletalSummaryDatainstance allocated withmemCalloc.static VRSkeletalSummaryData.Buffercalloc(int capacity) Returns a newVRSkeletalSummaryData.Bufferinstance allocated withmemCalloc.static VRSkeletalSummaryData.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVRSkeletalSummaryData.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VRSkeletalSummaryDatacalloc(org.lwjgl.system.MemoryStack stack) Returns a newVRSkeletalSummaryDatainstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VRSkeletalSummaryDataDeprecated.static VRSkeletalSummaryData.BuffercallocStack(int capacity) Deprecated.static VRSkeletalSummaryData.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.static VRSkeletalSummaryDatacallocStack(org.lwjgl.system.MemoryStack stack) Deprecated.static VRSkeletalSummaryDatacreate()Returns a newVRSkeletalSummaryDatainstance allocated withBufferUtils.static VRSkeletalSummaryData.Buffercreate(int capacity) Returns a newVRSkeletalSummaryData.Bufferinstance allocated withBufferUtils.static VRSkeletalSummaryDatacreate(long address) Returns a newVRSkeletalSummaryDatainstance for the specified memory address.static VRSkeletalSummaryData.Buffercreate(long address, int capacity) Create aVRSkeletalSummaryData.Bufferinstance at the specified memory.static @Nullable VRSkeletalSummaryDatacreateSafe(long address) static @Nullable VRSkeletalSummaryData.BuffercreateSafe(long address, int capacity) The amount that each finger is 'curled' inwards towards the palm.floatflFingerCurl(int index) The amount that each finger is 'curled' inwards towards the palm.The amount that each pair of adjacent fingers are separated.floatflFingerSplay(int index) The amount that each pair of adjacent fingers are separated.static VRSkeletalSummaryDatamalloc()Returns a newVRSkeletalSummaryDatainstance allocated withmemAlloc.static VRSkeletalSummaryData.Buffermalloc(int capacity) Returns a newVRSkeletalSummaryData.Bufferinstance allocated withmemAlloc.static VRSkeletalSummaryData.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVRSkeletalSummaryData.Bufferinstance allocated on the specifiedMemoryStack.static VRSkeletalSummaryDatamalloc(org.lwjgl.system.MemoryStack stack) Returns a newVRSkeletalSummaryDatainstance allocated on the specifiedMemoryStack.static VRSkeletalSummaryDataDeprecated.static VRSkeletalSummaryData.BuffermallocStack(int capacity) Deprecated.static VRSkeletalSummaryData.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.static VRSkeletalSummaryDatamallocStack(org.lwjgl.system.MemoryStack stack) Deprecated.static FloatBuffernflFingerCurl(long struct) Unsafe version offlFingerCurl().static floatnflFingerCurl(long struct, int index) Unsafe version offlFingerCurl.static FloatBuffernflFingerSplay(long struct) Unsafe version offlFingerSplay().static floatnflFingerSplay(long struct, int index) Unsafe version offlFingerSplay.intsizeof()Methods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate, validateMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods 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 aVRSkeletalSummaryDatainstance at the current position of the specifiedByteBuffercontainer. 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()- Specified by:
sizeofin classorg.lwjgl.system.Struct<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 newVRSkeletalSummaryDatainstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVRSkeletalSummaryDatainstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVRSkeletalSummaryDatainstance allocated withBufferUtils. -
create
Returns a newVRSkeletalSummaryDatainstance for the specified memory address. -
createSafe
-
malloc
Returns a newVRSkeletalSummaryData.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVRSkeletalSummaryData.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVRSkeletalSummaryData.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVRSkeletalSummaryData.Bufferinstance 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 public static VRSkeletalSummaryData.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead. -
callocStack
@Deprecated public static VRSkeletalSummaryData.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
malloc
Returns a newVRSkeletalSummaryDatainstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVRSkeletalSummaryDatainstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVRSkeletalSummaryData.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVRSkeletalSummaryData.Bufferinstance allocated on the specifiedMemoryStackand 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.
-