Class XrRaycastHitResultANDROID

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class XrRaycastHitResultANDROID extends Struct<XrRaycastHitResultANDROID> implements NativeResource

 struct XrRaycastHitResultANDROID {
     XrTrackableTypeANDROID type;
     XrTrackableANDROID trackable;
     XrPosef pose;
 }
  • 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.
    • TRACKABLE

      public static final int TRACKABLE
      The struct member offsets.
    • POSE

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

    • XrRaycastHitResultANDROID

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