Package org.lwjgl.ovr

Class OVRPoseStatef

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class OVRPoseStatef extends Struct<OVRPoseStatef> implements NativeResource
A full pose (rigid body) configuration with first and second derivatives.

Body refers to any object for which ovrPoseStatef is providing data. It can be the HMD, Touch controller, sensor or something else. The context depends on the usage of the struct.

Layout


 struct ovrPoseStatef {
     ovrPosef ThePose();
     ovrVector3f AngularVelocity();
     ovrVector3f LinearVelocity();
     ovrVector3f AngularAcceleration();
     ovrVector3f LinearAcceleration();
     char[4];
     double TimeInSeconds();
 }
  • Field Details

    • SIZEOF

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

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

      public static final int THEPOSE
      The struct member offsets.
    • ANGULARVELOCITY

      public static final int ANGULARVELOCITY
      The struct member offsets.
    • LINEARVELOCITY

      public static final int LINEARVELOCITY
      The struct member offsets.
    • ANGULARACCELERATION

      public static final int ANGULARACCELERATION
      The struct member offsets.
    • LINEARACCELERATION

      public static final int LINEARACCELERATION
      The struct member offsets.
    • TIMEINSECONDS

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

    • OVRPoseStatef

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