Package org.lwjgl.openvr
Class VRSkeletalSummaryData
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openvr.VRSkeletalSummaryData
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VRSkeletalSummaryData extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceContains summary information about the current skeletal pose.Layout
struct VRSkeletalSummaryData_t { floatflFingerCurl()[5]; floatflFingerSplay()[4]; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVRSkeletalSummaryData.BufferAn array ofVRSkeletalSummaryDatastructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intFLFINGERCURL
FLFINGERSPLAYThe struct member offsets.static intSIZEOFThe struct size in bytes.
-
Constructor Summary
Constructors Constructor Description VRSkeletalSummaryData(java.nio.ByteBuffer container)Creates aVRSkeletalSummaryDatainstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static 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 VRSkeletalSummaryDatacallocStack()Deprecated.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 VRSkeletalSummaryDatacreateSafe(long address)static VRSkeletalSummaryData.BuffercreateSafe(long address, int capacity)java.nio.FloatBufferflFingerCurl()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.java.nio.FloatBufferflFingerSplay()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 VRSkeletalSummaryDatamallocStack()Deprecated.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 java.nio.FloatBuffernflFingerCurl(long struct)Unsafe version offlFingerCurl().static floatnflFingerCurl(long struct, int index)Unsafe version offlFingerCurl.static java.nio.FloatBuffernflFingerSplay(long struct)Unsafe version offlFingerSplay().static floatnflFingerSplay(long struct, int index)Unsafe version offlFingerSplay.intsizeof()
-
-
-
Constructor Detail
-
VRSkeletalSummaryData
public VRSkeletalSummaryData(java.nio.ByteBuffer container)
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
flFingerCurl
public java.nio.FloatBuffer 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
public java.nio.FloatBuffer 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
public static VRSkeletalSummaryData malloc()
Returns a newVRSkeletalSummaryDatainstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VRSkeletalSummaryData calloc()
Returns a newVRSkeletalSummaryDatainstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VRSkeletalSummaryData create()
Returns a newVRSkeletalSummaryDatainstance allocated withBufferUtils.
-
create
public static VRSkeletalSummaryData create(long address)
Returns a newVRSkeletalSummaryDatainstance for the specified memory address.
-
createSafe
@Nullable public static VRSkeletalSummaryData createSafe(long address)
-
malloc
public static VRSkeletalSummaryData.Buffer malloc(int capacity)
Returns a newVRSkeletalSummaryData.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VRSkeletalSummaryData.Buffer calloc(int capacity)
Returns a newVRSkeletalSummaryData.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VRSkeletalSummaryData.Buffer create(int capacity)
Returns a newVRSkeletalSummaryData.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VRSkeletalSummaryData.Buffer create(long address, int capacity)
Create aVRSkeletalSummaryData.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VRSkeletalSummaryData.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VRSkeletalSummaryData mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VRSkeletalSummaryData callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VRSkeletalSummaryData mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VRSkeletalSummaryData callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VRSkeletalSummaryData.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VRSkeletalSummaryData.Buffer callocStack(int capacity)
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
public static VRSkeletalSummaryData malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVRSkeletalSummaryDatainstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VRSkeletalSummaryData calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVRSkeletalSummaryDatainstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VRSkeletalSummaryData.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVRSkeletalSummaryData.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VRSkeletalSummaryData.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVRSkeletalSummaryData.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nflFingerCurl
public static java.nio.FloatBuffer nflFingerCurl(long struct)
Unsafe version offlFingerCurl().
-
nflFingerCurl
public static float nflFingerCurl(long struct, int index)Unsafe version offlFingerCurl.
-
nflFingerSplay
public static java.nio.FloatBuffer nflFingerSplay(long struct)
Unsafe version offlFingerSplay().
-
nflFingerSplay
public static float nflFingerSplay(long struct, int index)Unsafe version offlFingerSplay.
-
-