Package org.lwjgl.openvr
Class VREventSpatialAnchor
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openvr.VREventSpatialAnchor
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class VREventSpatialAnchor extends org.lwjgl.system.StructLayout
struct VREvent_SpatialAnchor_t { SpatialAnchorHandle_t unHandle; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVREventSpatialAnchor.BufferAn array ofVREventSpatialAnchorstructs.
-
Constructor Summary
Constructors Constructor Description VREventSpatialAnchor(java.nio.ByteBuffer container)Creates aVREventSpatialAnchorinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VREventSpatialAnchorcreate(long address)Returns a newVREventSpatialAnchorinstance for the specified memory address.static VREventSpatialAnchor.Buffercreate(long address, int capacity)Create aVREventSpatialAnchor.Bufferinstance at the specified memory.static VREventSpatialAnchorcreateSafe(long address)static VREventSpatialAnchor.BuffercreateSafe(long address, int capacity)static intnunHandle(long struct)Unsafe version ofunHandle().intsizeof()intunHandle()Returns the value of theunHandlefield.
-
-
-
Constructor Detail
-
VREventSpatialAnchor
public VREventSpatialAnchor(java.nio.ByteBuffer container)
Creates aVREventSpatialAnchorinstance 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
-
unHandle
public int unHandle()
Returns the value of theunHandlefield.
-
create
public static VREventSpatialAnchor create(long address)
Returns a newVREventSpatialAnchorinstance for the specified memory address.
-
createSafe
@Nullable public static VREventSpatialAnchor createSafe(long address)
-
create
public static VREventSpatialAnchor.Buffer create(long address, int capacity)
Create aVREventSpatialAnchor.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VREventSpatialAnchor.Buffer createSafe(long address, int capacity)
-
nunHandle
public static int nunHandle(long struct)
Unsafe version ofunHandle().
-
-