Class XrEventDataLocalizationChangedML

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

public class XrEventDataLocalizationChangedML extends org.lwjgl.system.Struct<XrEventDataLocalizationChangedML> implements org.lwjgl.system.NativeResource
Event containing the current localization map state.
Description

By default the runtime does not send these events but calling EnableLocalizationEventsML function enables the events. When this function is called the XrEventDataLocalizationChangedML event will always be posted to the event queue, regardless of whether the map localization state has changed. This allows the application to synchronize with the current state.

Note

The arrival of the event is asynchronous to this call.

Valid Usage (Implicit)
See Also

XrLocalizationMapML, EnableLocalizationEventsML

Layout


 struct XrEventDataLocalizationChangedML {
     XrStructureType type();
     void const * next();
     XrSession session();
     XrLocalizationMapStateML state();
     XrLocalizationMapML map();
     XrLocalizationMapConfidenceML confidence();
     XrLocalizationMapErrorFlagsML errorFlags();
 }
  • 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.
    • SESSION

      public static final int SESSION
      The struct member offsets.
    • STATE

      public static final int STATE
      The struct member offsets.
    • MAP

      public static final int MAP
      The struct member offsets.
    • CONFIDENCE

      public static final int CONFIDENCE
      The struct member offsets.
    • ERRORFLAGS

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

    • XrEventDataLocalizationChangedML

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