C Specification

The XrCoordinateSpaceCreateInfoML structure is defined as:

typedef struct XrCoordinateSpaceCreateInfoML {
    XrStructureType         type;
    const void*             next;
    MLCoordinateFrameUID    cfuid;
    XrPosef                 poseInCoordinateSpace;
} XrCoordinateSpaceCreateInfoML;

Members

Member Descriptions
  • type is the XrStructureType of this structure.

  • next is NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.

  • cfuid is the MLCoordinateFrameUID as generated by the non-OpenXR API in the Magic Leap SDK.

  • poseInCoordinateSpace is an XrPosef defining the position and orientation of the new space’s origin within the natural reference frame of the cfuid.

Description

XrCoordinateSpaceCreateInfoML is provided as input when calling xrCreateSpaceFromCoordinateFrameUIDML to convert a Magic Leap SDK generated MLCoordinateFrameUID to an XrSpace. The conversion only needs to be done once even if the underlying MLCoordinateFrameUID changes its pose.

Valid Usage (Implicit)

See Also

Document Notes

For more information, see the OpenXR Specification

This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.

Copyright 2014-2024, The Khronos Group Inc.