Top Description Inners Fields Constructors Methods
org.lwjgl.openvr

public Class TrackedDevicePose

extends Struct<TrackedDevicePose>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Annotations
@NativeType:struct TrackedDevicePose_t
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Describes a single pose for a tracked object.

Layout


struct TrackedDevicePose_t {
    HmdMatrix34_t mDeviceToAbsoluteTracking;
    HmdVector3_t vVelocity;
    HmdVector3_t vAngularVelocity;
    ETrackingResult eTrackingResult;
    bool bPoseIsValid;
    bool bDeviceIsConnected;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
BDEVICEISCONNECTED

The struct member offsets.

public static final int
BPOSEISVALID

The struct member offsets.

public static final int
ETRACKINGRESULT

The struct member offsets.

public static final int
MDEVICETOABSOLUTETRACKING

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
VANGULARVELOCITY

The struct member offsets.

public static final int
VVELOCITY

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
TrackedDevicePose(long address, ByteBuffer container)

public
TrackedDevicePose(ByteBuffer container)

Creates a TrackedDevicePose instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public boolean
bDeviceIsConnected()

This indicates that there is a device connected for this spot in the pose array.

public TrackedDevicePose
bDeviceIsConnected(boolean value)

Sets the specified value to the bDeviceIsConnected field.

public boolean

Returns:

the value of the bPoseIsValid field.
bPoseIsValid
()

public TrackedDevicePose
bPoseIsValid(boolean value)

Sets the specified value to the bPoseIsValid field.

public static TrackedDevicePose
calloc()

Returns a new TrackedDevicePose instance allocated with memCalloc.

public static TrackedDevicePose.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new TrackedDevicePose.Buffer instance allocated with memCalloc.

public static TrackedDevicePose
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new TrackedDevicePose instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static TrackedDevicePose.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new TrackedDevicePose.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static TrackedDevicePose
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static TrackedDevicePose
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static TrackedDevicePose.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static TrackedDevicePose.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected TrackedDevicePose
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static TrackedDevicePose
create()

Returns a new TrackedDevicePose instance allocated with BufferUtils.

public static TrackedDevicePose
create(long address)

Returns a new TrackedDevicePose instance for the specified memory address.

public static TrackedDevicePose.Buffer
create(int
the buffer capacity
capacity
)

Returns a new TrackedDevicePose.Buffer instance allocated with BufferUtils.

public static TrackedDevicePose.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a TrackedDevicePose.Buffer instance at the specified memory.

public static TrackedDevicePose
createSafe(long address)

Like create, but returns null if address is NULL.

public static TrackedDevicePose.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public int
public TrackedDevicePose
eTrackingResult(int value)

Sets the specified value to the eTrackingResult field.

public static TrackedDevicePose
malloc()

Returns a new TrackedDevicePose instance allocated with memAlloc.

public static TrackedDevicePose.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new TrackedDevicePose.Buffer instance allocated with memAlloc.

public static TrackedDevicePose
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new TrackedDevicePose instance allocated on the specified MemoryStack.

public static TrackedDevicePose.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new TrackedDevicePose.Buffer instance allocated on the specified MemoryStack.

public static TrackedDevicePose
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static TrackedDevicePose
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static TrackedDevicePose.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static TrackedDevicePose.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public HmdMatrix34

Returns:

a HmdMatrix34 view of the mDeviceToAbsoluteTracking field.
mDeviceToAbsoluteTracking
()

public TrackedDevicePose
mDeviceToAbsoluteTracking(HmdMatrix34 value)

Copies the specified HmdMatrix34 to the mDeviceToAbsoluteTracking field.

public TrackedDevicePose
mDeviceToAbsoluteTracking(Consumer<HmdMatrix34> consumer)

Passes the mDeviceToAbsoluteTracking field to the specified Consumer.

public static boolean
nbDeviceIsConnected(long struct)

Unsafe version of bDeviceIsConnected.

public static void
nbDeviceIsConnected(long struct, boolean value)

Unsafe version of bDeviceIsConnected.

public static boolean
nbPoseIsValid(long struct)

Unsafe version of bPoseIsValid.

public static void
nbPoseIsValid(long struct, boolean value)

Unsafe version of bPoseIsValid.

public static int
neTrackingResult(long struct)

Unsafe version of eTrackingResult.

public static void
neTrackingResult(long struct, int value)

Unsafe version of eTrackingResult.

public static HmdMatrix34
public static void
public static HmdVector3
nvAngularVelocity(long struct)

Unsafe version of vAngularVelocity.

public static void
nvAngularVelocity(long struct, HmdVector3 value)

Unsafe version of vAngularVelocity.

public static HmdVector3
nvVelocity(long struct)

Unsafe version of vVelocity.

public static void
nvVelocity(long struct, HmdVector3 value)

Unsafe version of vVelocity.

public TrackedDevicePose
set(HmdMatrix34 mDeviceToAbsoluteTracking, HmdVector3 vVelocity, HmdVector3 vAngularVelocity, int eTrackingResult, boolean bPoseIsValid, boolean bDeviceIsConnected)

Initializes this struct with the specified values.

public TrackedDevicePose

Returns:

this struct
set
(TrackedDevicePose
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public HmdVector3
vAngularVelocity()

angular velocity in radians/s

public TrackedDevicePose
vAngularVelocity(HmdVector3 value)

Copies the specified HmdVector3 to the vAngularVelocity field.

public TrackedDevicePose
vAngularVelocity(Consumer<HmdVector3> consumer)

Passes the vAngularVelocity field to the specified Consumer.

public HmdVector3
vVelocity()

velocity in tracker space in m/s

public TrackedDevicePose
vVelocity(HmdVector3 value)

Copies the specified HmdVector3 to the vVelocity field.

public TrackedDevicePose
vVelocity(Consumer<HmdVector3> consumer)

Passes the vVelocity field to the specified Consumer.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

BDEVICEISCONNECTEDback to summary
public static final int BDEVICEISCONNECTED

The struct member offsets.

BPOSEISVALIDback to summary
public static final int BPOSEISVALID

The struct member offsets.

ETRACKINGRESULTback to summary
public static final int ETRACKINGRESULT

The struct member offsets.

MDEVICETOABSOLUTETRACKINGback to summary
public static final int MDEVICETOABSOLUTETRACKING

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

VANGULARVELOCITYback to summary
public static final int VANGULARVELOCITY

The struct member offsets.

VVELOCITYback to summary
public static final int VVELOCITY

The struct member offsets.

Constructor Detail

TrackedDevicePoseback to summary
protected TrackedDevicePose(long address, ByteBuffer container)
TrackedDevicePoseback to summary
public TrackedDevicePose(ByteBuffer container)

Creates a TrackedDevicePose instance at the current position of the specified ByteBuffer 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 Detail

bDeviceIsConnectedback to summary
public boolean bDeviceIsConnected()

This indicates that there is a device connected for this spot in the pose array. It could go from true to false if the user unplugs the device.

Annotations
@NativeType:bool
bDeviceIsConnectedback to summary
public TrackedDevicePose bDeviceIsConnected(boolean value)

Sets the specified value to the bDeviceIsConnected field.

bPoseIsValidback to summary
public boolean bPoseIsValid()
Returns:boolean

the value of the bPoseIsValid field.

Annotations
@NativeType:bool
bPoseIsValidback to summary
public TrackedDevicePose bPoseIsValid(boolean value)

Sets the specified value to the bPoseIsValid field.

callocback to summary
public static TrackedDevicePose calloc()

Returns a new TrackedDevicePose instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static TrackedDevicePose.Buffer calloc(int capacity)

Returns a new TrackedDevicePose.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static TrackedDevicePose calloc(MemoryStack stack)

Returns a new TrackedDevicePose instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static TrackedDevicePose.Buffer calloc(int capacity, MemoryStack stack)

Returns a new TrackedDevicePose.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

callocStackback to summary
public static TrackedDevicePose callocStack()

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static TrackedDevicePose callocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static TrackedDevicePose.Buffer callocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static TrackedDevicePose.Buffer callocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
createback to summary
protected TrackedDevicePose create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static TrackedDevicePose create()

Returns a new TrackedDevicePose instance allocated with BufferUtils.

createback to summary
public static TrackedDevicePose create(long address)

Returns a new TrackedDevicePose instance for the specified memory address.

createback to summary
public static TrackedDevicePose.Buffer create(int capacity)

Returns a new TrackedDevicePose.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static TrackedDevicePose.Buffer create(long address, int capacity)

Create a TrackedDevicePose.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static TrackedDevicePose createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static TrackedDevicePose.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
eTrackingResultback to summary
public int eTrackingResult()

one of:

VR#ETrackingResult_TrackingResult_Uninitialized
VR#ETrackingResult_TrackingResult_Calibrating_InProgress
VR#ETrackingResult_TrackingResult_Calibrating_OutOfRange
VR#ETrackingResult_TrackingResult_Running_OK
VR#ETrackingResult_TrackingResult_Running_OutOfRange
VR#ETrackingResult_TrackingResult_Fallback_RotationOnly
Annotations
@NativeType:ETrackingResult
eTrackingResultback to summary
public TrackedDevicePose eTrackingResult(int value)

Sets the specified value to the eTrackingResult field.

mallocback to summary
public static TrackedDevicePose malloc()

Returns a new TrackedDevicePose instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static TrackedDevicePose.Buffer malloc(int capacity)

Returns a new TrackedDevicePose.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static TrackedDevicePose malloc(MemoryStack stack)

Returns a new TrackedDevicePose instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static TrackedDevicePose.Buffer malloc(int capacity, MemoryStack stack)

Returns a new TrackedDevicePose.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

mallocStackback to summary
public static TrackedDevicePose mallocStack()

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static TrackedDevicePose mallocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static TrackedDevicePose.Buffer mallocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static TrackedDevicePose.Buffer mallocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
mDeviceToAbsoluteTrackingback to summary
public HmdMatrix34 mDeviceToAbsoluteTracking()
Returns:HmdMatrix34

a HmdMatrix34 view of the mDeviceToAbsoluteTracking field.

Annotations
@NativeType:HmdMatrix34_t
mDeviceToAbsoluteTrackingback to summary
public TrackedDevicePose mDeviceToAbsoluteTracking(HmdMatrix34 value)

Copies the specified HmdMatrix34 to the mDeviceToAbsoluteTracking field.

mDeviceToAbsoluteTrackingback to summary
public TrackedDevicePose mDeviceToAbsoluteTracking(Consumer<HmdMatrix34> consumer)

Passes the mDeviceToAbsoluteTracking field to the specified Consumer.

nbDeviceIsConnectedback to summary
public static boolean nbDeviceIsConnected(long struct)

Unsafe version of bDeviceIsConnected.

nbDeviceIsConnectedback to summary
public static void nbDeviceIsConnected(long struct, boolean value)

Unsafe version of bDeviceIsConnected.

nbPoseIsValidback to summary
public static boolean nbPoseIsValid(long struct)

Unsafe version of bPoseIsValid.

nbPoseIsValidback to summary
public static void nbPoseIsValid(long struct, boolean value)

Unsafe version of bPoseIsValid.

neTrackingResultback to summary
public static int neTrackingResult(long struct)

Unsafe version of eTrackingResult.

neTrackingResultback to summary
public static void neTrackingResult(long struct, int value)

Unsafe version of eTrackingResult.

nmDeviceToAbsoluteTrackingback to summary
public static HmdMatrix34 nmDeviceToAbsoluteTracking(long struct)

Unsafe version of mDeviceToAbsoluteTracking.

nmDeviceToAbsoluteTrackingback to summary
public static void nmDeviceToAbsoluteTracking(long struct, HmdMatrix34 value)

Unsafe version of mDeviceToAbsoluteTracking.

nvAngularVelocityback to summary
public static HmdVector3 nvAngularVelocity(long struct)

Unsafe version of vAngularVelocity.

nvAngularVelocityback to summary
public static void nvAngularVelocity(long struct, HmdVector3 value)

Unsafe version of vAngularVelocity.

nvVelocityback to summary
public static HmdVector3 nvVelocity(long struct)

Unsafe version of vVelocity.

nvVelocityback to summary
public static void nvVelocity(long struct, HmdVector3 value)

Unsafe version of vVelocity.

setback to summary
public TrackedDevicePose set(HmdMatrix34 mDeviceToAbsoluteTracking, HmdVector3 vVelocity, HmdVector3 vAngularVelocity, int eTrackingResult, boolean bPoseIsValid, boolean bDeviceIsConnected)

Initializes this struct with the specified values.

setback to summary
public TrackedDevicePose set(TrackedDevicePose src)

Copies the specified struct data to this struct.

Parameters
src:TrackedDevicePose

the source struct

Returns:TrackedDevicePose

this struct

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
vAngularVelocityback to summary
public HmdVector3 vAngularVelocity()

angular velocity in radians/s

Annotations
@NativeType:HmdVector3_t
vAngularVelocityback to summary
public TrackedDevicePose vAngularVelocity(HmdVector3 value)

Copies the specified HmdVector3 to the vAngularVelocity field.

vAngularVelocityback to summary
public TrackedDevicePose vAngularVelocity(Consumer<HmdVector3> consumer)

Passes the vAngularVelocity field to the specified Consumer.

vVelocityback to summary
public HmdVector3 vVelocity()

velocity in tracker space in m/s

Annotations
@NativeType:HmdVector3_t
vVelocityback to summary
public TrackedDevicePose vVelocity(HmdVector3 value)

Copies the specified HmdVector3 to the vVelocity field.

vVelocityback to summary
public TrackedDevicePose vVelocity(Consumer<HmdVector3> consumer)

Passes the vVelocity field to the specified Consumer.

org.lwjgl.openvr back to summary

public Class TrackedDevicePose.Buffer

extends StructBuffer<TrackedDevicePose, TrackedDevicePose.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of TrackedDevicePose structs.

Field Summary

Modifier and TypeField and Description
private static final TrackedDevicePose

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new TrackedDevicePose.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

the value of the TrackedDevicePose#bDeviceIsConnected field.
bDeviceIsConnected
()

public TrackedDevicePose.Buffer
bDeviceIsConnected(boolean value)

Sets the specified value to the TrackedDevicePose#bDeviceIsConnected field.

public boolean

Returns:

the value of the bPoseIsValid field.
bPoseIsValid
()

public TrackedDevicePose.Buffer
bPoseIsValid(boolean value)

Sets the specified value to the bPoseIsValid field.

public int

Returns:

the value of the TrackedDevicePose#eTrackingResult field.
eTrackingResult
()

public TrackedDevicePose.Buffer
eTrackingResult(int value)

Sets the specified value to the TrackedDevicePose#eTrackingResult field.

protected TrackedDevicePose
public HmdMatrix34

Returns:

a HmdMatrix34 view of the mDeviceToAbsoluteTracking field.
mDeviceToAbsoluteTracking
()

public TrackedDevicePose.Buffer
mDeviceToAbsoluteTracking(HmdMatrix34 value)

Copies the specified HmdMatrix34 to the mDeviceToAbsoluteTracking field.

public TrackedDevicePose.Buffer
mDeviceToAbsoluteTracking(Consumer<HmdMatrix34> consumer)

Passes the mDeviceToAbsoluteTracking field to the specified Consumer.

protected TrackedDevicePose.Buffer
public HmdVector3
public TrackedDevicePose.Buffer
public TrackedDevicePose.Buffer
public HmdVector3

Returns:

a HmdVector3 view of the TrackedDevicePose#vVelocity field.
vVelocity
()

public TrackedDevicePose.Buffer
vVelocity(HmdVector3 value)

Copies the specified HmdVector3 to the TrackedDevicePose#vVelocity field.

public TrackedDevicePose.Buffer
vVelocity(Consumer<HmdVector3> consumer)

Passes the TrackedDevicePose#vVelocity field to the specified Consumer.

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final TrackedDevicePose ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new TrackedDevicePose.Buffer instance backed by the specified container.

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 TrackedDevicePose#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

bDeviceIsConnectedback to summary
public boolean bDeviceIsConnected()
Returns:boolean

the value of the TrackedDevicePose#bDeviceIsConnected field.

Annotations
@NativeType:bool
bDeviceIsConnectedback to summary
public TrackedDevicePose.Buffer bDeviceIsConnected(boolean value)

Sets the specified value to the TrackedDevicePose#bDeviceIsConnected field.

bPoseIsValidback to summary
public boolean bPoseIsValid()
Returns:boolean

the value of the bPoseIsValid field.

Annotations
@NativeType:bool
bPoseIsValidback to summary
public TrackedDevicePose.Buffer bPoseIsValid(boolean value)

Sets the specified value to the bPoseIsValid field.

eTrackingResultback to summary
public int eTrackingResult()
Returns:int

the value of the TrackedDevicePose#eTrackingResult field.

Annotations
@NativeType:ETrackingResult
eTrackingResultback to summary
public TrackedDevicePose.Buffer eTrackingResult(int value)

Sets the specified value to the TrackedDevicePose#eTrackingResult field.

getElementFactoryback to summary
protected TrackedDevicePose getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
mDeviceToAbsoluteTrackingback to summary
public HmdMatrix34 mDeviceToAbsoluteTracking()
Returns:HmdMatrix34

a HmdMatrix34 view of the mDeviceToAbsoluteTracking field.

Annotations
@NativeType:HmdMatrix34_t
mDeviceToAbsoluteTrackingback to summary
public TrackedDevicePose.Buffer mDeviceToAbsoluteTracking(HmdMatrix34 value)

Copies the specified HmdMatrix34 to the mDeviceToAbsoluteTracking field.

mDeviceToAbsoluteTrackingback to summary
public TrackedDevicePose.Buffer mDeviceToAbsoluteTracking(Consumer<HmdMatrix34> consumer)

Passes the mDeviceToAbsoluteTracking field to the specified Consumer.

selfback to summary
protected TrackedDevicePose.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
vAngularVelocityback to summary
public HmdVector3 vAngularVelocity()
Returns:HmdVector3

a HmdVector3 view of the TrackedDevicePose#vAngularVelocity field.

Annotations
@NativeType:HmdVector3_t
vAngularVelocityback to summary
public TrackedDevicePose.Buffer vAngularVelocity(HmdVector3 value)

Copies the specified HmdVector3 to the TrackedDevicePose#vAngularVelocity field.

vAngularVelocityback to summary
public TrackedDevicePose.Buffer vAngularVelocity(Consumer<HmdVector3> consumer)

Passes the TrackedDevicePose#vAngularVelocity field to the specified Consumer.

vVelocityback to summary
public HmdVector3 vVelocity()
Returns:HmdVector3

a HmdVector3 view of the TrackedDevicePose#vVelocity field.

Annotations
@NativeType:HmdVector3_t
vVelocityback to summary
public TrackedDevicePose.Buffer vVelocity(HmdVector3 value)

Copies the specified HmdVector3 to the TrackedDevicePose#vVelocity field.

vVelocityback to summary
public TrackedDevicePose.Buffer vVelocity(Consumer<HmdVector3> consumer)

Passes the TrackedDevicePose#vVelocity field to the specified Consumer.