Package org.lwjgl.ovr

Class OVRTrackingState

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class OVRTrackingState extends Struct<OVRTrackingState> implements NativeResource
Tracking state at a given absolute time (describes predicted HMD pose etc). Returned by GetTrackingState.

Layout


 struct ovrTrackingState {
     ovrPoseStatef HeadPose();
     unsigned int StatusFlags();
     ovrPoseStatef HandPoses()[2];
     unsigned int HandStatusFlags()[2];
     ovrPosef CalibratedOrigin();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • HEADPOSE

      public static final int HEADPOSE
      The struct member offsets.
    • STATUSFLAGS

      public static final int STATUSFLAGS
      The struct member offsets.
    • HANDPOSES

      public static final int HANDPOSES
      The struct member offsets.
    • HANDSTATUSFLAGS

      public static final int HANDSTATUSFLAGS
      The struct member offsets.
    • CALIBRATEDORIGIN

      public static final int CALIBRATEDORIGIN
      The struct member offsets.
  • Constructor Details

    • OVRTrackingState

      public OVRTrackingState(ByteBuffer container)
      Creates a OVRTrackingState 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 Details