Data Structure Index
- class MLVoiceIntentsConfiguration
A Class that will maintain the proper JSON structure needed by the MLVoice API.- struct CustomVoiceIntents
The Simplified Voice Command data needed to add commands from the inspector. The unique name field required in the final JSON will be auto generated based on the unique Id. - class JSONContainer
The container for the data being changed into a JSON string to send to the MLVoice API. - class JSONContainerAutoSystem
JSONContainer to Auto allowing all System Intents. - struct JSONData
The current structure of the JSON data that will be sent to the MLVoice API. Subject to change. - struct SlotData
The Slot Data to be used in the CustomVoiceIntents' value. To use a slot, put the SlotData name between { } inside of the CustomVoiceIntents' value. - struct SlotDataInternal
- struct SystemJSONData
The current structure of the System Intents JSON data that will be sent to the MLVoice API. Subject to change.
- struct CustomVoiceIntents
- namespace MagicLeap
- class APKBuilder
- class BuildSettingsCache
- class SimplePackageManifest
- namespace Android
- class AHardwareBufferImageBackend
- struct AHardwareBufferImageBackend
- class AImageBackend
- struct AImageBackend
- struct ARect
- class AndroidCamera
- struct AndroidCamera
- struct AndroidCamera
- struct AndroidCamera
- class AndroidCameraLog
- class AndroidCameraManager
- class AndroidCameraManager
- class AndroidCameraPlayerLoopUtility
- class ArrayUtility
- class CaptureRequest
- struct DataLayout
- struct ImageCoordinates
- struct ImageDimensions
- struct ImageDimensions
- class JPEGUtility
- class MagicLeapCameras
Three Camera Devices are supported: Camera Id 0, Camera Id 1, Camera Id 3. Camera Id 0 and 1 support Camera_Only capture. Camera Id 3 supports Mixed_Reality capture, Virtual_Only capture, Camera_Only capture. Camera Id 0 and Camera Id 1 support a total of 3 streams. Streams are dynamically allocated between Camera Id 0 and Camera Id 1. Camera Id 0 and Camera Id 3 are conflicting devices, a higher priority application using Camera Id 3 will evict client using Camera Id 0. Camera Id 3(Mixed Reality Camera) only supports 1 stream. - namespace NDK
- namespace NDK
- structACameraCaptureFailure
- struct Data
- structACameraCaptureSession
- struct CaptureCallbacks
- struct StateCallbacks
- structACameraDevice
- struct StateCallbacks
- structACameraIdList
- struct Data
- structACameraManager
- struct AvailabilityCallbackSubscription
- struct AvailabilityCallbacks
- structACameraMetadata
- struct Entry
- struct ReadOnly
- struct UnionPointer
- struct Rational
- struct Entry
- structACameraOutputTarget
- structACaptureRequest
- structACaptureSessionOutput
- structACaptureSessionOutputContainer
- classCameraConstants
- classCameraNativeBindings
- classCameraStatusExtensions
- namespaceMetadata
- structACameraCaptureFailure
- namespace NDK
- structAImage
- structAImageReader
- struct ImageListener
- classMediaConstants
- classMediaFormatExtensions
- classMediaNativeBindings
- classMediaStatusExtensions
- namespace NDK
- structAHardwareBuffer
- struct Description
- struct Plane
- struct Planes
- classAHardwareBufferExtensions
- structANativeWindow
- classNativeWindowNativeBindings
- structAHardwareBuffer
- namespace NDK
- struct NativeImage
- struct NativeImage
- struct NativeImage
- struct NativeImage
- class NativeImageSourceUnsafeUtility
- struct NativePlane
- struct NativeYUVPlanes
- class Permissions
- class RequestTemplateExtensions
- struct SequenceId
- struct StreamConfiguration
- class StreamConfigurationUtility
- struct UnsafeImage
- struct UnsafeImage
- struct UnsafePlane
- class YUVUtility
- struct YUVUtility
- class AHardwareBufferImageBackend
- class AndroidBootConfig
- class AndroidManifestXml
- class BuildPreprocessor
- namespace Core
- class MLWebViewScreenBehavior
This class is used to Render Web View on the texture and propagate input to Web View. - class MLWebViewTabBarBehavior
- class MLWebViewTabBehavior
- class MLWebViewScreenBehavior
- class EditorProjectData
Scriptable Object holding data used in Editor scripts. - namespace Examples
- class MagicLeapController
Convenient utility for accessing InputActions bound to the ML2 controller's OpenXR action paths
- class MagicLeapController
- interface INullablePointer
- interface IReferenceCountedPointer
- class MagicLeapSDKUtil
- class SDKManifest
- class NullablePointerExtensions
- namespace OpenXR
- namespace Constants
- class Constants
- struct FeatureLifecycleNativeListener
- struct FeatureLifecycleNativeListenerInternal
- namespace Features
- namespace Features
- structBlendShapeProperties
The data properties associated with a given blend shape obtained by the Facial Expressions API. - classFacialExpressionNativeFunctions
- classMagicLeapFacialExpressionFeature
- structXrFacialExpressionBlendShapeProperties
- structXrFacialExpressionClientCreateInfo
- structXrFacialExpressionShapeGetInfo
- structXrSystemFacialExpressionProperties
- structBlendShapeProperties
- namespace Features
- structEstimateData
All of the data obtained from a light estimation estimate. - structHDRCubemapData
The data of the HDR cubemap as it is obtained from a light estimation estimate. - classLightEstimationNativeFunctions
- classMagicLeapLightEstimationFeature
- struct ConvertAndFlipJob
- structMainDirectionalLight
The direction and color of the main directional light data obtained from the light estimation estimate. - structXrLightEstimationCreateInfo
- structXrLightEstimationHDRCubemap
- structXrLightEstimationMainDirectionalLight
- structXrLightEstimationSphericalHarmonics
- structXrLightEstimationState
- structEstimateData
- namespace Features
- structLocalizationEventData
- structLocalizationMap
- classLocalizationMapNativeFunctions
- classMagicLeapLocalizationMapFeature
- structXrEventDataLocalizationChanged
- structXrLocalizationEnableEventsInfo
- structXrLocalizationMap
- structXrLocalizationMapImportInfo
- structXrLocalizationMapQueryInfoBaseHeader
- structXrMapLocalizationRequestInfo
- class Features
- class Features
- class Features
- class Features
- class Features
Enables the Magic Leap OpenXR Loader for Android, and modifies the AndroidManifest to be compatible with ML2.- structMLPerceptionSnapshotUpdate
- classNativeBindings
- class Features
- class Features
- class Features
- struct Features
- class Features
- class Features
- class Features
- structXrFrameEndInfoML
- structXrGlobalDimmerFrameEndInfoML
- class Features
- class Features
- namespace Features
- structAprilTagSettings
Settings associated with the AprilTag marker type. - structArucoSettings
Settings associated with the Aruco marker type. - structCustomProfileSettings
The custom settings applied to the marker tracker when a custom profile is used. - classMagicLeapMarkerUnderstandingFeature
- structMarkerData
The data retrieved from a marker detector. - classMarkerDetector
Used to detect data from a specified type of marker tracker based on specific settings. - structMarkerDetectorSettings
All of the settings associated with the marker tracker. - classMarkerUnderstandingNativeExtensions
- classMarkerUnderstandingNativeFunctions
- structQRSettings
Settings associated with the QR marker type. - structXrMarkerDetectorAprilTagInfo
- structXrMarkerDetectorArucoInfo
- structXrMarkerDetectorCreateInfo
- structXrMarkerDetectorCustomProfile
- structXrMarkerDetectorInfoContainer
- structXrMarkerDetectorSizeInfo
- structXrMarkerDetectorSnapshotInfo
- structXrMarkerDetectorState
- structXrMarkerSpaceCreateInfo
- structAprilTagSettings
- namespace Features
- structFrameMeshInfo
- classMagicLeapMeshingFeature
Enables the Magic Leap OpenXR Loader for Android, and modifies the AndroidManifest to be compatible with ML2. - classMagicLeapXrMeshingNativeBindings
- structMeshingQuerySettings
The mesh generation settings - structXrMeshId
- class Features
- namespace Features
- classMagicLeapPixelSensorFeature
Enables the Magic Leap OpenXR Loader for Android, and modifies the AndroidManifest to be compatible with ML2.- struct PixelSensorUpdateType
- classPixelSensor
- class PixelSensorStreamStatus
- classPixelSensorAnalogGain
The Analog gain metadata holder - classPixelSensorAsyncOperation
A class that represents any asynchronous operation that the pixel sensor performs - classPixelSensorAsyncOperationResult
Represents the progress of an async Pixel sensor operation - structPixelSensorCapability
Represents the capability data's type - classPixelSensorCapabilityRange
The capability range for a sensor capability- struct PixelSensorCapabilityMinMax
Represents a range of values ranging from Min to Max
- struct PixelSensorCapabilityMinMax
- classPixelSensorConfigData
Represents a configuration to be applied for a sensor - classPixelSensorConfigureOperation
- classPixelSensorDepthConfidenceBuffer
The Depth Confidence Buffer metadata - classPixelSensorDepthFlagBuffer
The Depth Flag Buffer metadata - classPixelSensorDepthFrameIllumination
The Depth Frame Illumination metadata - classPixelSensorDigitalGain
The Digital gain metadata holder - classPixelSensorExposureTime
The exposure time metadata - classPixelSensorFisheyeIntrinsics
The Fisheye intrinsics camera model metadata. - structPixelSensorFrame
Represents the frame data of a sensor- struct FlipTextureJob
- structPixelSensorId
A Pixel Sensor Identifier - classPixelSensorMetaData
The base class for all metadata types. PixelSensors.MagicLeapPixelSensorFeature.GetSensorData will return an array of instances of the base class type Use the MetadataType to determine and cast to the corresponding metadata needed - classPixelSensorNativeFunctions
- classPixelSensorPinholeIntrinsics
The Pinhole camera model intrinsics metadata - structPixelSensorPlane
Represents a plane from a sensor frame - classPixelSensorStartOperation
- classPixelSensorStopOperation
- classPixelSensorStreamBuffer
A class representing a buffer associated with a pixel sensor's stream - classPixelSensorStreamBuffers
A class that represents the buffer information of all the streams supported by a pixel sensor - structXrEventBuffer
- structXrEventDataPixelSensorAvailabilityChanged
- structXrMetadataContainer
- structXrPixelSensor
- structXrPixelSensorAnalogGain
- structXrPixelSensorBaseHeader
- structXrPixelSensorBuffer
- structXrPixelSensorBufferProperties
- structXrPixelSensorBufferPropertiesInfo
- structXrPixelSensorCapability
- structXrPixelSensorCapabilityConfigBaseHeader
- structXrPixelSensorCapabilityConfigBool32
- structXrPixelSensorCapabilityConfigExtent2D
- structXrPixelSensorCapabilityConfigFloat
- structXrPixelSensorCapabilityConfigUint32
- structXrPixelSensorCapabilityQueryInfo
- structXrPixelSensorCapabilityRangeBaseHeader
- structXrPixelSensorCapabilityRangeContinuousFloat
- structXrPixelSensorCapabilityRangeContinuousUint
- structXrPixelSensorCapabilityRangeDiscreteBoolean
- structXrPixelSensorCapabilityRangeDiscreteExtents
- structXrPixelSensorCapabilityRangeDiscreteUint
- structXrPixelSensorCapabilityRangeHolder
Represents a container for holding on to a capability range - structXrPixelSensorConfigData
- structXrPixelSensorConfigInfo
- structXrPixelSensorConfigureCompletion
- structXrPixelSensorCreateInfo
- structXrPixelSensorCreateSpaceInfo
- structXrPixelSensorData
- structXrPixelSensorDataGetInfo
- structXrPixelSensorDepthConfidenceBuffer
- structXrPixelSensorDepthFlagBuffer
- structXrPixelSensorDepthFrameIllumination
- structXrPixelSensorDigitalGain
- structXrPixelSensorExposureTime
- structXrPixelSensorFisheyeIntrinsics
- structXrPixelSensorFrame
- structXrPixelSensorPinholeIntrinsics
- structXrPixelSensorPlane
- structXrPixelSensorStartCompletion
- structXrPixelSensorStartInfo
- structXrPixelSensorStopCompletion
- structXrPixelSensorStopInfo
- classMagicLeapPixelSensorFeature
- namespace Features
- classMagicLeapPlanesFeature
Enables the Magic Leap OpenXR Loader for Android, and modifies the AndroidManifest to be compatible with ML2. - classPlanesNativeFunctions
- structXrPlaneDetector
- structXrPlaneDetectorBeginInfo
- structXrPlaneDetectorCreateInfo
- structXrPlaneDetectorGetInfo
- structXrPlaneDetectorLocation
- structXrPlaneDetectorLocations
- structXrPlaneDetectorPolygonBuffer
- structXrSystemPlaneDetectionProperties
- classMagicLeapPlanesFeature
- namespace Features
- classMagicLeapSpatialAnchorsFeature
- struct AnchorsUpdateType
- classMagicLeapSpatialAnchorsNativeFunctions
- classMagicLeapSpatialAnchorsStorageFeature
- struct AnchorsStorageData
- struct AnchorsStoragePendingPublish
- struct AnchorsStorageUpdateType
- classMagicLeapSpatialAnchorsStorageNativeFunctions
- structXrCreateSpatialAnchorsCompletion
- structXrSpatialAnchorState
- structXrSpatialAnchorsCreateInfoBaseHeader
- structXrSpatialAnchorsCreateInfoFromPose
- structXrSpatialAnchorsCreateInfoFromUuids
- structXrSpatialAnchorsCreateStorageInfo
- structXrSpatialAnchorsDeleteCompletion
- structXrSpatialAnchorsDeleteInfo
- structXrSpatialAnchorsPublishCompletion
- structXrSpatialAnchorsPublishInfo
- structXrSpatialAnchorsQueryCompletion
- structXrSpatialAnchorsQueryInfoBaseHeader
- structXrSpatialAnchorsQueryInfoRadius
- structXrSpatialAnchorsUpdateExpirationCompletion
- structXrSpatialAnchorsUpdateExpirationInfo
- classMagicLeapSpatialAnchorsFeature
- namespace Features
- namespace Features
- classMagicLeapUserCalibrationFeature
- struct EyeCalibrationData
- struct HeadsetFitData
- classUserCalibrationNativeFunctions
- structXrEventDataEyeCalibrationChanged
- structXrEventDataHeadsetFitChanged
- structXrUserCalibrationEnableEventsInfo
- classMagicLeapUserCalibrationFeature
- struct Features
- struct Features
- namespace Features
- namespace Futures
- namespace InteractionProfiles
- class InteractionProfiles
This OpenXRInteractionFeature enables the use of interaction profiles in OpenXR.- classMagicLeapController
An Input System device based off the Magic Leap Controller interaction profile . This device contains one haptic output motor. - classRaycastSubsystem
- class MagicLeapProvider
- classMagicLeapController
- class InteractionProfiles
- namespace LegacySupport
- class LegacySupport
- classNativeBindings
- class LegacySupport
- classNativeBindings
- class LegacySupport
- classNativeBindings
- struct MLInputBuzzCommand
- struct MLInputCustomHaptics
- struct MLInputCustomHapticsInfo
- struct MLInputPreDefinedPattern
- classNativeBindings
- class LegacySupport
- namespace NativeDelegates
- class NativeFunctionsBase
- namespace ReferenceSpaces
- class ReferenceSpaces
- struct ReferenceSpaces
- struct Result
- namespace Spaces
- namespace Subsystems
- class Subsystems
The Magic Leap implementation of the XRAnchorSubsystem . Do not create this directly. Use XRAnchorSubsystemDescriptor.Create() instead.- structAnchorStoragePending
- classMagicLeapProvider
- struct AnchorSubsystemAnchorData
- struct AnchorsSubsystemUpdateType
- class Subsystems
The Magic Leap implementation of the XRPlaneSubsystem . Do not create this directly. Use PlanesSubsystemDescriptor.Create() instead.- classConvexHullGenerator
- structCopyPlaneResultsJob
- classMagicLeapProvider
- classPlaneBoundary
Container for the boundary of a detected planar surface. This is specific to Magic Leap because the polygon describing the boundary may be concave, and may contain holes. - structPlanesQuery
- class Subsystems
- classMagicLeapProvider
- struct XRCopyPointCloudDataJob
- structXRPointCloudCreationJob
- classMagicLeapProvider
- class Subsystems
- class Subsystems
- namespace SystemInfo
- class SystemInfo
- struct SystemInfo
- struct SystemInfo
- struct SystemInfo
- struct SystemInfo
- namespace Time
- class Utils
- class Utils
An OpenXRStruct helper class
- class Utils
- namespace ViewConfiguration
- class ViewConfiguration
- struct ViewConfiguration
- struct ViewConfiguration
- struct ViewConfiguration
- struct XrBaseOutStructure
- struct XrBool32
- struct XrCompositionLayerBaseHeader
- struct XrCompositionLayerProjection
- struct XrCompositionLayerProjectionView
- struct XrEventDataBuffer
- struct XrFovf
- struct XrFrameBeginInfo
- struct XrFrameEndInfo
- struct XrFrameState
- struct XrFrameWaitInfo
- struct XrInstance
- struct XrPath
- struct XrPose
- struct XrRect2Di
- struct XrSession
- struct XrSpace
- struct XrSwapChainSubImage
- struct XrTime
- struct XrUUID
- namespace Constants
- class PlayerLoopUtil
- class ReferenceCounterPtrExtensions
- namespace Settings
- namespace Android
- class MagicLeapProjectSettings
- class MagicLeapProjectSettingsProvider
- class MagicLeapProjectSettingsUIElementsRegister
- struct PermissionJson
- class PermissionSettingsLoader
- class PermissionSettingsProperty
- class PermissionSettingsProvider
- class PermissionsListJson
- class PermissionsSettingsProviderPresenter
- class VisualStudioProjectFileHook
Sets up Visual Studio Project Files for this package to show the same folder structure in the IDE as in the file explorer. Without this class, all files in this package show up under the same root folder when its added as a local package to a Unity project. What's worse is that if the package contains files of the same name in 2 different paths, Visual Studio only shows one of those files and updating one ends up deleting the other.- class Utf8StringWriter
Necessary for XLinq to save the xml project file in utf8
- class Utf8StringWriter
- class APKBuilder
- class MagicLeapInputs
- struct ControllerActions
- struct EyesActions
- struct HMDActions
- interface IControllerActions
- interface IEyesActions
- interface IHMDActions
- interface ILeftHandActions
- interface IRightHandActions
- struct LeftHandActions
- struct RightHandActions
- namespace UnityEditor
- namespace UnityEngine
- namespace XR
- namespace MagicLeap
- class MagicLeap
The Magic Leap implementation of the XRAnchorSubsystem . Do not create this directly. Use XRAnchorSubsystemDescriptor.Create() instead.- classMagicLeapProvider
- class MagicLeap
This is a specialized utility class meant to be used within the Unity SDK for very specific cases. This should not be taken as a general purpose Circular buffer as it does not cater to all possible use cases. - class MagicLeap
MagicLeap implementation of the XRGestureSubsystem . Do not create this directly. Use the SubsystemManager instead.- classControllerGestureDevice
- classExtensions
- struct TouchpadGestureEvent
The event data related to a Magic Leap Touchpad gesture
- struct TouchpadGestureEvent
- classGestureInputDevice
- classMagicLeapGestureProvider
- class MagicLeap
- interface MagicLeap
ALWAYS INHERIT FROM THIS - class MagicLeap
Subsystem for Image Tracking TODO: Implement when Image Tracking is available from the platform- classMagicLeapProvider
- class MagicLeap
- classExtensions
- class Controller
- class NativeBindings
- struct MLInputConnectedDevicesList
A structure containing information about the connected devices. - struct MLInputControllerCallbacksEx
A structure containing callbacks for input controller events. The final parameter to all the callbacks is a void *, which will point to whatever payload data the user provides in MLInputSetControllerCallbacksEx. Individual callbacks which are not required by the client can be NULL. This structure must be initialized by calling MLInputControllerCallbacksExInit() before use. - struct MLInputControllerStateEx
Contains information about the current state of an input controller.
- struct MLInputConnectedDevicesList
- struct State
Contains information about the current state of an input controller.
- class NativeBindings
- class DeviceCommands
- class Constants
- struct QueryControllerEnabled
- struct QueryEyesEnabled
- struct SendControllerVibe
- struct SendLEDEffect
- struct SendLEDPattern
- struct SetControllerEnabled
- struct SetEyesEnabled
- class DeviceFeatureUsages
- class Controller
- class Eyes
- class Hand
- class HandGesture
- class Head
- class DeviceLayouts
- class MagicLeapController
- class MagicLeapEyes
- class MagicLeapHandDevice
- class MagicLeapHeadset
- class Haptics
- struct Buzz
A structure containing information about the Buzz command to be played. - class CustomPattern
A custom haptics pattern can be played by combining Buzz haptic command and/or a pre-defined pattern, this object will hold a list of the haptics to be played with their specified durations. - interface IHapticsCommand
Shared haptics interface. - class NativeBindings
- struct MLInputBuzzCommand
A structure containing information about the Buzz command to be played. - struct MLInputCustomHaptics
A structure containing information about the Buzz command and/or pre-defined pattern to be played. A custom haptics pattern can be played by combining Buzz haptic command and/or a pre-defined pattern, this structure will hold info of a pattern to be added to the custom haptics array. - struct MLInputCustomHapticsInfo
A structure containing a list of Buzz command and/or pre-defined patterns to be played. - struct MLInputPreDefinedPattern
A structure containing information about the Pre-Defined pattern to be played.
- struct MLInputBuzzCommand
- struct PreDefined
A structure containing information about the Pre-Defined pattern to be played.
- struct Buzz
- class MLEyes
- struct DeviceCenteredEyeData
- class NativeBindings
- struct MLEyeTrackingStateEx
- struct MLEyeTrackingStaticData
Static information about the eye tracking. Populate with MLEyeTrackingGetStaticData
- struct State
- struct StaticData
- class MLGestureClassification
- struct FingerAngleDeg
The Angles between two fingers in degrees. - struct FingerState
Gesture classification state of a single finger. - class NativeBindings
- struct PostureFingerData
Gesture classification posture related finger data.
- struct FingerAngleDeg
- class MLHandTracking
- class NativeBindings
- struct KeyPointsMask
- class NativeBindings
- class MLHeadTracking
- class NativeBindings
- struct MLHeadTrackingStateEx
A structure containing information on the current state of the Head Tracking system. - struct MLHeadTrackingStaticData
Static information about a Head Tracker. Populate this structure with MLHeadTrackingGetStaticData() - struct State
A structure containing information on the current state of the Head Tracking system.
- struct MLHeadTrackingStateEx
- struct State
A structure containing information on the current state of the Head Tracking system. - struct StateEx
A structure containing information on the current state of the Head Tracking system.
- class NativeBindings
- class TouchpadGesture
- struct Data
- class Controller
- classUtils
- classExtensions
- class MagicLeap
Simple custom exception for instance error checking. - namespace MagicLeap
- namespaceUnsafe
- struct UnsafeRingBuffer
- struct BlockingReader
- struct BlockingWriter
- struct Data
- struct LocalState
- struct NonblockingReader
- struct NonblockingWriter
- struct SharedState
- struct UnsafeRingBuffer
- namespaceUnsafe
- class MagicLeap
- class MagicLeap
Spatial Anchor management is closely tied to the selected mapping mode on the device. The modes are mutually exclusive and affect the functionality of these APIs. The available mapping modes are:- structAnchor
- structLocalizationInfo
A structure containing information about the device's localization state. - classNativeBindings
See ml_spatial_anchor.h for additional comments.- struct MLSpatialAnchor
A structure representing a user-defined Spatial Anchor. - struct MLSpatialAnchorCreateInfo
A structure used to populate anchor creation info when creating a new Spatial Anchor. - struct MLSpatialAnchorLocalizationInfo
A structure containing information about the device's localization state. - struct MLSpatialAnchorQueryFilter
A collection of filters for Spatial Anchor queries. Filters that have been set will be combined via logical conjunction. E. g. results must match the ids filter AND fall within the radius constraint when both have been set. This struct must be initialized by calling #MLSpatialAnchorQueryFilterInit before use.
- struct MLSpatialAnchor
- classRequest
- struct Params
A collection of filters for Spatial Anchor queries. Filters that have been set will be combined via logical conjunction. E. g. results must match the ids filter AND fall within the radius constraint when both have been set. This struct must be initialized by calling #MLSpatialAnchorQueryFilterInit before use. - struct Result
- struct Params
- class MagicLeap
Manages Audio.- classBufferClip
- classClip
Streams audio input data into an AudioClip. - classNativeBindings
See ml_audio.h for additional comments. - classStreamingClip
- class MagicLeap
Manages Audio.- structBuffer
An audio buffer for passing data from input streams or to output streams. - structBufferFormat
Buffer format settings for input and output streams. - classNativeBindings
See ml_audio.h for additional comments.- struct MLAudioBuffer
- struct MLAudioBufferFormat
- struct MLAudioSpatialSoundDistanceProperties
Properties specifying the distance response of a spatial sound. - struct MLAudioSpatialSoundRadiationProperties
Properties specifying the directivity of a spatial sound. - struct MLAudioSpatialSoundSendLevels
Properties specifying send levels for a spatial sound.
- classSpatialSound
Structs and functions releated to spatial audio.- class DistanceProperties
Properties specifying the distance response of a spatial sound. - class RadiationProperties
Properties specifying the directivity of a spatial sound. - class SendLevels
Properties specifying send levels for a spatial sound.
- class DistanceProperties
- structBuffer
- class MagicLeap
- class MagicLeap
- classNativeBindings
- class MagicLeap
MLAutoAPISingleton class contains a template for singleton APIs - class MagicLeap
Custom attribute to make it easy to turn enum fields into bit masks in the inspector. The enum type must be defined in order for the inspector to be able to know what the bits should be set to. - class MagicLeap
- class MagicLeap
MLCamera class exposes static functions to query camera related functions. Most functions are currently a direct pass through functions to the native C-API functions and incur no overhead.- classNativeBindings
See ml_cv_camera.h for additional comments.
- classNativeBindings
- class MagicLeap
APIs to access the depth camera data.- classData
Output data for each depth camera sensor. - structDistortionCoefficients
The distortion coefficients are arranged in the following order: [k1, k2, p1, p2, k3] - structFrameBuffer
Per-plane info for each depth camera frame. - structIntrinsics
Depth camera intrinsic parameters. - classNativeBindings
- struct MLDepthCameraCapability
Structure to encapsulate a possible set of streams configuration. Such set describes a possible way of setting StreamConfig in MLDepthCameraSettings and may hold multiple MLDepthCameraStreamCapability for different streams. Whole StreamCapabilities array describe a single configuration. Using only part of it is not recommended. The capabilities supported by the depth camera can be queried with MLDepthCameraGetCapabilities(). - struct MLDepthCameraCapabilityFilter
Structure to encapsulate camera capabilities filtering. The capabilities supported by the depth camera can be queried with MLDepthCameraGetCapabilities(). - struct MLDepthCameraCapabilityList
Structure to encapsulate a list of possible stream configurations. User should be able to use any of the capabilities from the list. They are grouped in usable sets of configurations - one set may contain different MLDepthCameraStreamCapability for different streams. For more information see MLDepthCameraCapability. - struct MLDepthCameraData
Structure to encapsulate output data for each camera stream. This structure must be initialized before use. - struct MLDepthCameraFrame
Structure to encapsulate output data for each camera sensor. - struct MLDepthCameraFrameBuffer
- struct MLDepthCameraIntrinsics
- struct MLDepthCameraSettings
- struct MLDepthCameraStreamCapability
Structure to encapsulate a possible configuration for a single stream. Can be used to understand possible values for a specific StreamConfig element in MLDepthCameraSettings. The capabilities supported by the depth camera can be queried with MLDepthCameraGetCapabilities().
- struct MLDepthCameraCapability
- structSettings
Depth Camera Settings - structStreamCapability
Structure to encapsulate a possible configuration for a single stream. Can be used to understand possible values for a specific StreamConfig element in MLDepthCameraSettings. The capabilities supported by the depth camera can be queried with InternalGetCapabilities(). - structStreamConfig
- classData
- class MagicLeap
MagicLeap device class responsible for updating all trackers when they register and are enabled. - class MagicLeap
MLEyeCalibration Summary placeholder.- classNativeBindings
See ml_eye_calibration.h for additional comments.- struct MLEyeCalibrationState
- structState
A struct representing the eye calibration state.
- classNativeBindings
- class MagicLeap
MLEyeCamera class exposes static functions to query eye camera related functions. Most functions are currently a direct pass through functions to the native C-API functions and incur no overhead.- structEyeCameraData
- structEyeCameraFrame
- structEyeCameraFrameBuffer
- classNativeBindings
See ml_eye_camera.h for additional comments.- struct MLEyeCameraData
A structure to encapsulate all the eye camera data. - struct MLEyeCameraFrame
A structure to encapsulate output data for each camera sensor. - struct MLEyeCameraFrameBuffer
A structure to encapsulate per plane info for each camera frame. - struct MLEyeCameraSettings
A structure to encapsulate the camera settings.
- struct MLEyeCameraData
- class MagicLeap
- structEyeData
A structure containing information about eye expressions. - classNativeBindings
See ml_facial_expression.h for additional comments.- struct MLFacialExpressionEyeData
A structure containing information about eye expressions. This structure must be initialized by calling MLFacialExpressionEyeDataInit before use. - struct MLFacialExpressionSettings
A structure containing settings for the facial expressions. This structure must be initialized by calling #MLFacialExpressionSettingsInit before use. (And calling ZeroStruct on our side.)
- struct MLFacialExpressionEyeData
- structSettings
A structure containing settings for the facial expressions.
- structEyeData
- class MagicLeap
This API can be used to get info about gaze.- classNativeBindings
See ml_gaze_recognition.h for additional comments.- struct MLGazeRecognitionState
Information about the state of the Gaze Recognition system. This structure must be initialized by calling MLGazeRecognitionStateInit() before use. - struct MLGazeRecognitionStaticData
Static information about the Gaze Recognition system. Populate with MLGazeRecognitionGetStaticData().
- struct MLGazeRecognitionState
- structState
Information about the state of the Gaze Recognition system. - structStaticData
Static information about the Gaze Recognition system. Populate with MLGazeRecognitionGetStaticData().
- classNativeBindings
- class MagicLeap
- classNativeBindings
- class MagicLeap
- classNativeBindings
- struct MLGraphicsFrameParamsEx
- struct MLUnityGraphicsCallbacks
- classNativeBindings
- class MagicLeap
Script used to position this Canvas object directly in front of the user by using lerp functionality to give it a smooth look. Components on the canvas should function normally. - class MagicLeap
MLHeadsetFit Summary placeholder.- classNativeBindings
See ml_headset_fit.h for additional comments.- struct MLHeadsetFitState
- structState
Headset fit state
- classNativeBindings
- class MagicLeap
- class MagicLeap
This API can be used to scan markers. For QR codes it also provides 6DOF poses. The scanner supports up to 16 markers. Identical markers will be treated as seperate markers and reported individually. List of currently supported trackable markers (with pose info):- structArucoData
- structBinaryData
- structMarkerData
Marker data as returned by the Magic Leap SDK - classNativeBindings
- struct MLMarkerTrackerCustomProfile
Marker Tracker system provides a set of standard tracking profiles (see MLMarkerTracker.Profile enum) to configure the tracker settings. This is the structure that defines a custom tracker profile. - struct MLMarkerTrackerDecodedArucoData
Aruco decoded data. - struct MLMarkerTrackerDecodedBinaryData
Aruco decoded data. - struct MLMarkerTrackerDecodedData
Represents the decoded data encoded in the marker. Markers can encode binary data, strings, URLs and more. This struct represents the decoded data read from a marker. - struct MLMarkerTrackerDecodedTypedData
Different Marker Decoders will produce different data. Use this structure to find what the data structure is. - struct MLMarkerTrackerResult
A list of these results will be returned by the Marker Scanner, after processing a video frame succesfully. - struct MLMarkerTrackerResultArray
An array of all the detection results from the marker scanning. - struct MLMarkerTrackerSettings
When creating the Marker Scanner, this list of settings needs to be passed to configure the scanner properly.The estimated poses will only be correct if the marker length has been set correctly.
- struct MLMarkerTrackerCustomProfile
- structTrackerSettings
- struct CustomProfile
- class MagicLeap
MLMedia APIs.- classMuxer
APIs for MediaMuxer to facilitate muxing of elementary streams.- class NativeBindings
See ml_media_muxer.h for additional comments.- struct MLMediaMuxerSampleData
Data type that encapsulates sample data to be written in to Muxer.
- struct MLMediaMuxerSampleData
- class NativeBindings
- classMuxer
- class MagicLeap
APIs for creating and retrieving media format information.- classNativeBindings
See ml_media_format.h for additional comments.- struct MLMediaFormatByteArray
Data type containing byte array buffer and the size.
- struct MLMediaFormatByteArray
- classNativeBindings
- class MagicLeap
MLMediaFormat description goes here.- classNativeBindings
See ml_media_format.h for additional comments.
- classNativeBindings
- class MagicLeap
APIs for video and audio recording.- classNativeBindings
See ml_media_recorder.h for additional comments.- struct MLMediaRecorderEventCallbacks
Comment Needed! - struct MLMediaRecorderOnError
When the error or info type is track specific, it has the following layout: The left-most 16-bit is meant for error or info type and the right-most 4-bit is meant for track id. - struct MLMediaRecorderOnInfo
When the error or info type is track specific, it has the following layout: The left-most 16-bit is meant for error or info type and the right-most 4-bit is meant for track id.
- struct MLMediaRecorderEventCallbacks
- structOnErrorData
Info received when the media recorder runs into an error. - structOnInfoData
- structOnTrackErrorData
Info received when the media recorder runs into a track error. - structOnTrackInfoData
- classNativeBindings
- class MagicLeap
MLMediaTTML Summary placeholder.- structMLTTMLData
TTML data structure. - structMLTTMLImage
Byte data for TTML image cues. - classNativeBindings
See ml_media_ttml.h for additional comments.- struct MLTTMLData
TTML data structure. - struct MLTTMLImage
Byte data for TTML image cues.
- struct MLTTMLData
- structMLTTMLData
- class MagicLeap
- classNativeBindings
- class MagicLeap
- class MagicLeap
MLHeadsetFit description goes here.- classNativeBindings
See ml_system_notification_manager.h for additional comments.
- classNativeBindings
- class MagicLeap
- classNativeBindings
See ml_occlusion.h for additional comments.- struct MLOcclusionMesh
- struct MLOcclusionMeshQuery
- struct MLOcclusionSettings
- structOcclusionMesh
- structSettings
- classNativeBindings
- class MagicLeap
- class MagicLeap
Used to print logs within the plugin.- classScopedLog
- class MagicLeap
- structComponentProperty
A structure to encapsulate the data for each #MLPowerManagerPropertyType. - structComponentPropertyData
- classNativeBindings
See ml_power_manager.h for additional comments.- struct MLPowerManagerCallbacks
A structure containing Power Manager callback events. Individual callbacks which are not required by the Power Manager can be NULL. - struct MLPowerManagerComponentProperty
- struct MLPowerManagerPowerStateData
A structure to encapsulate output data when either getting available power states, or the current power state. - struct MLPowerManagerPowerStateInfo
A structure to encapsulate info data used by the Power Manager when getting the current power state. - struct MLPowerManagerPowerStateSettings
A structure to encapsulate settings used by the Power Manager when requesting the power state to be changed. - struct MLPowerManagerPropertyData
A structure to encapsulate output data when getting the current properties. - struct MLPowerManagerPropertyInfo
A structure to encapsulate info data used by the Power Manager when getting the current properties. - struct MLPowerManagerPropertyTypeData
- struct MLPowerManagerPropertyTypeInfo
A structure to encapsulate information used by the Power Manager when getting the available property types. </summary
- struct MLPowerManagerCallbacks
- structPowerStateData
A structure to encapsulate output data when either getting available power states, or the current power state. - structPropertyData
A structure to encapsulate output data when getting the current properties. - structPropertyTypeData
A structure to encapsulate output data when getting a component's available property types. - structSettings
A structure to encapsulate settings used by the Power Manager when requesting the power state to be changed.
- structComponentProperty
- class MagicLeap
INHERIT FROM THIS IF YOUR REQUEST SHOULD BE A CLASS - struct MagicLeap
Magic Leap API return value. - class MagicLeap
- class MagicLeap
- structLocalizationResult
A structure containing information about the device's localization state. - classNativeBindings
See ml_space.h for additional comments. - structSettings
A structure containing settings for the space manager. This structure must be initialized by calling #MLSpaceManagerSettingsInit before use. - structSpace
A structure containing information about a Magic Leap Space. This structure must be initialized by calling #MLSpaceInit before use. - structSpaceCallbacks
A structure containing callbacks for events related to the Space. This structure must be initialized by calling #MLSpaceCallbacksInit before use. Application can unregister(stop receiving callbacks) at any time by setting the corresponding callback to NULL. - structSpaceData
Space data used when importing a space. - structSpaceExportInfo
A structure containing information about the Space export settings. This structure must be initialized by calling #MLSpaceExportInfoInit before use. - structSpaceExportOutData
A structure containing information about the exported Space. - structSpaceFilter
A collection of filters for Magic Leap Spaces. This structure must be initialized by calling #MLSpaceQueryFilterInit before use. There is no support for filters at this time. - structSpaceImportInfo
A structure containing information needed to import Magic Leap Space. This structure must be initialized by calling #MLSpaceImportInfoInit before use. - structSpaceImportOutData
A structure containing information about the imported Space. - structSpaceInfo
Space data returned when we successfully import space. - structSpaceList
A structure containing list of #MLSpace. This structure must be initialized by calling #MLSpaceListInit before use. - structSpaceLocalizationInfo
A collection of parameters to be used for localization request. This structure must be initialized by calling #MLSpaceLocalizationInfoInit before use. - structSpaceLocalizationResult
A structure containing information about the device's localization state. This structure must be initialized by calling #MLSpaceLocalizationResultInit before usebefore use.
- structLocalizationResult
- class MagicLeap
Represents an ML API wide timestamp in nanoseconds that is not guaranteed to be synced with any system time. If OpenXR is used, MLTime is synonymous with the XrTime type.- classNativeBindings
See ml_time.h for additional comments. - structTimeSpec
Mirrors time.h's timespec struct, which is generated by clock_gettime()
- classNativeBindings
- class MagicLeap
This class provides callbacks and manages the state of the Virtual Keyboard.- classKeyboardCancelEvent
- classKeyboardSubmitEvent
- class MagicLeap
APIs for the voice service system.- structEventSlot
Slot Data in voice event. - structIntentEvent
A structure containing voice intent event information. - classNativeBindings
See ml_voice.h for additional comments.- struct IntentCallbacks
A structure containing callbacks for voice intent events. The final parameter to all the callbacks is a IntPtr, which will point to whatever payload data the user provides in MLVoiceIntentSetCallbacks(). Individual callbacks which are not required by the client can be NULL. - struct IntentEventInternal
A structure containing voice intent event data. - struct IntentSettings
A structure containing settings for voice app intent. This structure must be initialized by calling IntentSettings.Create() before use. - struct IntentSlotInternal
A structure containing voice app-intent slot in voice event.
- struct IntentCallbacks
- structEventSlot
- class MagicLeap
API for MLWebView that allows an application to instantiate a hardware accelerated WebView and interact with it(via "mouse" and "keyboard" events).- structInputFieldData
Struct containing data about clicked input field in WebView. - classNativeBindings
See ml_webview.h for additional comments.- struct CursorState
Struct to define the cursor's state. - struct EventCallbacks
Event handler for MLWebView callbacks. This structure must be initialized by calling #MLWebViewEventCallbacksInit before use. - struct Settings
Struct to define webview initialization.
- struct CursorState
- classRenderer
- structInputFieldData
- class MagicLeap
Magic Leap 2 has three world cameras which it uses for environment tracking. The three cameras area located on the left, center, and right side of the headset. This API will provide a way to query for the frames from these world cameras, at this point the app will not be able to configure the world camera parameters.- structCameraIntrinsics
World camera intrinsic parameters. - structFrame
A structure to encapsulate per plane info for each camera frame.- struct Buffer
A structure to encapsulate per plane info for each camera frame.
- struct Buffer
- classNativeBindings
See ml_world_camera.h for additional comments.- struct MLWorldCameraData
A structure to encapsulate output data for each camera sensor. - struct MLWorldCameraFrame
A structure to encapsulate output data for each camera sensor. - struct MLWorldCameraFrameBuffer
A structure to encapsulate per plane info for each camera frame. - struct MLWorldCameraIntrinsics
World camera intrinsic parameters. - struct MLWorldCameraSettings
A structure to encapsulate the camera settings.
- struct MLWorldCameraData
- structSettings
A structure to encapsulate the camera settings.
- structCameraIntrinsics
- class MagicLeap
MonoBehaviour class representing the Magic Leap camera - class MagicLeap
- class MagicLeap
- structMagicLeapXrProviderDebugUtils
The native representation of the MagicLeapXrProvider debug utilities object.
- structMagicLeapXrProviderDebugUtils
- class MagicLeap
- class MagicLeap
- classExtensions
- class MLMeshing
- class Config
- class NativeBindings
- struct Settings
- struct MeshBlockInfo
Representation of a mesh block. - struct MeshBlockRequest
- class NativeBindings
- struct MLMeshingBlockInfo
Representation of a mesh block. - struct MLMeshingBlockRequest
- struct MLMeshingExtents
Axis aligned bounding box for querying updated mesh info. - struct MLMeshingMeshInfo
Response structure for the mesh block info. - struct MLMeshingMeshRequest
- struct MLMeshingBlockInfo
- class Config
- class MLMeshing
- classExtensions
- class MagicLeap
- class MagicLeap
- namespace MagicLeap
- classMLConvert
Utility class used for converting vectors and matrices between native and unity format. - classMLTextureUtils
Class containing utility functions to convert Unity Texture to Magic Leap OS compatible data structures.- struct FlipPixelsVerticallyJob
- classMLThreadDispatch
Handles dispatching calls from the Magic Leap native thread to the Unity thread- class DispatchNoPayload
Overloads the generic dispatcher to call back a method without a payload - class DispatchPayload1
Overloads the generic dispatcher to call back a method with a single payload - class DispatchPayload2
Overloads the generic dispatcher to call back a method with two payloads - class DispatchPayload3
Overloads the generic dispatcher to call back a method with three payloads - class DispatchPayload4
Overloads the generic dispatcher to call back a method with four payloads - class DispatchPayload5
Overloads the generic dispatcher to call back a method with four payloads - class DispatchPayload6
Overloads the generic dispatcher to call back a method with four payloads - class Dispatcher
Defines a generic dispatching class.
- class DispatchNoPayload
- classMagicLeapNativeBindings
Defines C# API interface to C-API layer.- struct MLCoordinateFrameUID
A unique identifier which represents a coordinate frame. The unique identifier is comprised of two values. - struct MLMat4f
4x4 matrix in native format. - struct MLPose
Geometric relationship between two coordinate frames. - struct MLQuaternionf
Quaternion in native format. - struct MLRectf
2D rectangle in native format. - struct MLRecti
2D rectangle with integer values in native format. - struct MLSnapshotStaticData
Static information about the snapshot system. Initalize this structure with MLSnapshotStaticDataInit() and populate with MLSnapshotGetStaticData() - struct MLTransform
Information used to transform from one coordinate frame to another. - struct MLUUID
Universally unique identifier - struct MLUUIDBytes
Universally unique identifier, byte array. - struct MLVec2f
2D vector represented with X and Y floats. - struct MLVec3f
3D vector in native format.
- struct MLCoordinateFrameUID
- classMLConvert
- struct MagicLeap
Has List-like semantics (Capacity and Length) using a NativeArray as the backing store. The NativeArray is never resized. This is useful for times you don't know how big the array will be, but there is a definite upper bound. This list supports duck-typed foreach Enumerator semantics.- structEnumerator
- struct MagicLeap
- structBlockingReader
- structBlockingWriter
- structDecrementCountJob
- structDisposeData
- structDisposeJob
- structNonblockingReader
- structNonblockingWriter
- struct MagicLeap
- structBufferData
- structDisposeData
- structDisposeJob
- structSyncJob
- structUpdateJob
- class MagicLeap
- class MagicLeap
The Magic Leap implementation of the XRPlaneSubsystem . Do not create this directly. Use PlanesSubsystemDescriptor.Create() instead.- classConvexHullGenerator
- structCopyPlaneResultsJob
- classExtensions
- struct MLPlane
- struct MLPlaneBoundaries
- struct MLPlaneBoundariesList
- struct MLPlaneBoundary
- struct MLPlanesQuery
- struct MLPolygon
- struct PlanesQuery
- classMagicLeapProvider
- classNativeBindings
- structPlaneBoundary
Container for the boundary of a detected planar surface. This is specific to Magic Leap because the polygon describing the boundary may be concave, and may contain holes. - structPlaneBoundaryCollection
Represents a collection of concave BoundedPlane boundaries obtained from MagicLeapPlaneSubsystem.GetAllBoundariesForPlane(TrackableId).- struct Enumerator
An enumerator which can be used by a foreach statement to iterate over the elements in a PlaneBoundaryCollection.
- struct Enumerator
- structTransformPlaneBoundaryJob
- struct MagicLeap
Contains information necessary to report on XRAnchor s.- structCinfo
Information necessary to construct a reference frame
- structCinfo
- class MagicLeap
Place this attribute on a child of MLAutoAPISingleton to prevent its initialization until the Magic Leap XR package is loaded. - class MagicLeap
The Magic Leap implementation of the XRSessionSubsystem . Do not create this directly. Use SessionSubsystemDescriptor.Create() instead.- classMagicLeapProvider
- class MagicLeap
- class MagicLeap
- class MagicLeap
- namespace MagicLeap
- classUnsafeUtilityEx
- class MagicLeap
Implements a renderer for android native & hardware buffers (Vulkan-only).- interfaceIFrameAvailabilityProvider
- interfaceIFrameTransformMatrixProvider
- interfaceIHardwareBufferProvider
- interfaceINativeBufferProvider
- interfaceIYcbcrConversionSamplerProvider
- classNativeBindings
- struct CreateInfo
Info to create the native rendering plugin instance with - struct PluginEventData
Data to be passed down to the native plugin for a rendering event.
- struct CreateInfo
- structVkAndroidHardwareBufferFormatPropertiesANDROID
- structVkComponentMapping
- structVkSamplerYcbcrConversionCreateInfo
- class MagicLeap
- namespace MagicLeap
- namespace XR