Class XrSceneSphereBoundMSFT

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<XrSceneSphereBoundMSFT>
org.lwjgl.openxr.XrSceneSphereBoundMSFT
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class XrSceneSphereBoundMSFT extends org.lwjgl.system.Struct<XrSceneSphereBoundMSFT> implements org.lwjgl.system.NativeResource
Describe a scene sphere bounds.
Description

The runtime must return ERROR_VALIDATION_FAILURE if radius is not a finite positive value.

Valid Usage (Implicit)
See Also

XrSceneBoundsMSFT, XrVector3f

Layout


 struct XrSceneSphereBoundMSFT {
     XrVector3f center();
     float radius();
 }
  • Field Details

    • SIZEOF

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

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

      public static final int CENTER
      The struct member offsets.
    • RADIUS

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

    • XrSceneSphereBoundMSFT

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