Class XrRaycastInfoANDROID

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class XrRaycastInfoANDROID extends Struct<XrRaycastInfoANDROID> implements NativeResource
struct XrRaycastInfoANDROID {
    XrStructureType type;
    void const * next;
    uint32_t maxResults;
    uint32_t trackerCount;
    XrTrackableTrackerANDROID const * trackers;
    XrVector3f origin;
    XrVector3f trajectory;
    XrSpace space;
    XrTime time;
}
  • Field Details

    • SIZEOF

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

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

      public static final int TYPE
      The struct member offsets.
    • NEXT

      public static final int NEXT
      The struct member offsets.
    • MAXRESULTS

      public static final int MAXRESULTS
      The struct member offsets.
    • TRACKERCOUNT

      public static final int TRACKERCOUNT
      The struct member offsets.
    • TRACKERS

      public static final int TRACKERS
      The struct member offsets.
    • ORIGIN

      public static final int ORIGIN
      The struct member offsets.
    • TRAJECTORY

      public static final int TRAJECTORY
      The struct member offsets.
    • SPACE

      public static final int SPACE
      The struct member offsets.
    • TIME

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

    • XrRaycastInfoANDROID

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