Package org.lwjgl.ovr

Class OVRTrackerPose

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class OVRTrackerPose
    extends Struct
    implements NativeResource
    Specifies the pose for a single sensor.

    Member documentation

    • TrackerFlagsovrTrackerFlags.
    • Pose – the sensor's pose. This pose includes sensor tilt (roll and pitch). For a leveled coordinate system use LeveledPose.
    • LeveledPose – t the sensor's leveled pose, aligned with gravity. This value includes pos and yaw of the sensor, but not roll and pitch. It can be used as a reference point to render real-world objects in the correct location.


     struct ovrTrackerPose {
         unsigned int TrackerFlags;
         ovrPosef Pose;
         ovrPosef LeveledPose;
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.

        The struct member offsets.
    • Constructor Detail

      • OVRTrackerPose

        public OVRTrackerPose​(java.nio.ByteBuffer container)
        Creates a OVRTrackerPose 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.