Data Structure Index
- class FPSDisplay
- 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 BuildPreprocessor
- namespace Core
- class MLMediaPlayerBehavior
- class MLWebRTCAudioSinkBehavior
- class MLWebRTCLocalAppDefinedAudioSourceBehavior
- class MLWebRTCVideoSinkBehavior
- class MLWebViewScreenBehavior
This class is used to Render Web View on the texture and propagate input to Web View. - class MLWebViewTabBarBehavior
- class MLWebViewTabBehavior
- class EditorProjectData
Scriptable Object holding data used in Editor scripts.
- class MagicLeapInputs
- struct ControllerActions
- struct EyesActions
- struct HMDActions
- interface IControllerActions
- interface IEyesActions
- interface IHMDActions
- interface ILeftHandActions
- interface IRightHandActions
- struct LeftHandActions
- struct RightHandActions
- class SettingsIntentsLauncher
- namespace UnityEditor
- namespace XR
- namespace MagicLeap
- class MagicLeap
- classBuildSettingsCache
- classSimplePackageManifest
- class MagicLeap
- class MagicLeap
- class MagicLeap
- classJSONObject
- classJSONResult
- class MagicLeap
- class MagicLeap
- classPreferencesLoader
- class MagicLeap
- class MagicLeap
- class MagicLeap
- classSDKManifest
- struct MagicLeap
- struct MagicLeap
- struct MagicLeap
- class MagicLeap
- class MagicLeap
- class MagicLeap
- class MagicLeap
- class MagicLeap
- class MagicLeap
- class MagicLeap
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.- classUtf8StringWriter
Necessary for XLinq to save the xml project file in utf8
- classUtf8StringWriter
- class MagicLeap
- namespace OpenXR
- namespace OpenXR
- namespaceMagicLeapSupport
- class AndroidBootConfig
- namespaceMagicLeapSupport
- namespace OpenXR
- namespace MagicLeap
- namespace XR
- 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
Interface for target classes used by MLMediaPlayer Each function must be implemented by the child player type - 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 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 StateEx
A structure containing information on the current state of the Head Tracking system.
- struct MLHeadTrackingStaticData
- 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. - 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
Provides a multithreadig implementation of the camera api. Handles pause behavior automatically. - 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.- structCameraOutput
Contains the information and data of each of the available buffers/planes in a capture Number of planes for JPEG and RGBA captures = 1 Number of planes for YUV captures = 3 - structCaptureConfig
- structCaptureStreamConfig
- structConnectContext
Camera connection settings. - structIntrinsicCalibrationParameters
Camera intrinsic parameters. - structMRConnectInfo
Connection settings for MR capture. - classMetadata
MLCameraMetadata Summary placeholder.- class NativeBindings
See ml_camera_metadata_v2.h for additional comments.- struct MLCameraMetadataRational
Rational data type.
- struct MLCameraMetadataRational
- struct Rational
Rational data type.
- class NativeBindings
- classNativeBindings
This class defines the C# interface to the C functions/structures in "ml_camera.h".- struct MLCameraCaptureCallbacks
Capture callbacks to be implemented by client to receive capture status if callback mechanism is used. This structure must be initialized by calling MLCameraCaptureCallbacksInit() before use. - struct MLCameraCaptureConfig
Structure to encapsulate capture configuration - struct MLCameraCaptureStreamCaps
The capabilities for each stream supported by logical camera device * can be queried with MLCameraGetDeviceCaps - struct MLCameraCaptureStreamConfig
Structure to encapsulate stream configurations - struct MLCameraConnectContext
Structure to encapsulate context for a CameraConnect Request. - struct MLCameraDeviceAvailabilityInfo
- struct MLCameraDeviceAvailabilityStatusCallbacks
Device availability status callbacks to be implemented by client to receive device availability status. - struct MLCameraDeviceStatusCallbacks
Device status callbacks to be implemented by client to receive device status if callback mechanism is used. - struct MLCameraIntrinsicCalibrationParameters
IntrinsicCalibrationParameters is a structure to provide instrisic calibration information - struct MLCameraMRConnectInfo
Structure to encapsulate connection settings for MR capture. - struct MLCameraOutput
Captured output - struct MLCameraPlaneInfo
Per plane info for captured output - struct MLCameraResultExtras
ResultExtras is a structure to encapsulate various indices for a capture result.
- struct MLCameraCaptureCallbacks
- structPlaneInfo
Contains both the data and information necessary to read the data for a specific buffer in a capture - classRenderer
- structResultExtras
- structStreamCapabilitiesInfo
- structStreamCapability
- structCameraOutput
- 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
- struct XrGlobalDimmerFrameEndInfoML
- classNativeBindings
- class MagicLeap
- classNativeBindings
- struct MLGraphicsFrameParamsEx
- struct MLUnityGraphicsCallbacks
- classNativeBindings
- class MagicLeap
- 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
- structSettings
- structTrackerSettings
- struct CustomProfile
- class MagicLeap
MLMedia APIs.- classDataSource
- class NativeBindings
- 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
- classNativeBindings
General media native bindings. - classParserCEA608
CEA608 Parser.- struct CaptionLine
- class NativeBindings
- struct CaptionLineEx
- struct CaptionPAC
- struct CaptionSegmentEx
- struct CaptionStyleColor
- classParserCEA708
CEA708 Parser.- class NativeBindings
- struct Cea708CaptionColor
CEA708 Caption Color. MLCea708CaptionColor from ml_media_cea708_caption.h . - struct Cea708CaptionEvent
CEA708 Caption Event. - struct Cea708CaptionEventInternal
Internal CEA708 Caption Event. MLCea708CaptionEvent from ml_media_cea708_caption.h . - struct Cea708CaptionPenAttr
CEA708 Caption Pen Attributes. MLCea708CaptionPenAttr from ml_media_cea708_caption.h . - struct Cea708CaptionPenColor
CEA708 Caption Pen Color. MLCea708CaptionPenColor from ml_media_cea708_caption.h . - struct Cea708CaptionPenLocation
CEA708 Caption Pen Location. MLCea708CaptionPenLocation from ml_media_cea708_caption.h . - struct Cea708CaptionWindow
CEA708 Caption Window. MLCea708CaptionWindow from ml_media_cea708_caption.h . - struct Cea708CaptionWindowAttr
CEA708 Caption Window Attributes. MLCea708CaptionWindowAttr from ml_media_cea708_caption.h .
- struct Cea708CaptionColor
- class NativeBindings
- classPlayer
Media player script that allows playback of a streaming video (either from file or web URL) This script will update the main texture parameter of the Renderer attached as a sibling with the video frame from playback. Audio is also handled through this class and will playback audio from the file.- class NativeBindings
See the MLMediaPlayer native plugin "ml_mediaplayer_plugin.cpp" for additional comments.- struct MLMediaPlayerBufferingSettings
Indicate the buffering settings. - struct MLMediaPlayerEventCallbacksEx
Callbacks for notifying client about - struct MLMediaPlayerMetrics
MediaPlayer metrics data. - struct MLMediaPlayerOnBufferingUpdateInfo
MediaPlayer Buffering update callback Info. - struct MLMediaPlayerOnCompletionInfo
MediaPlayer Playback completion callback Info. - struct MLMediaPlayerOnErrorInfo
MediaPlayer Error callback Info. - struct MLMediaPlayerOnFramePackingInfo
MediaPlayer frame packing callback Info. - struct MLMediaPlayerOnInfoInfo
MediaPlayer Information callback Info. - struct MLMediaPlayerOnPreparedInfo
MediaPlayer Playback prepared callback Info. - struct MLMediaPlayerOnResetCompleteInfo
MediaPlayer reset completion callback Info. - struct MLMediaPlayerOnSeekCompleteInfo
MediaPlayer Playback seek completion callback Info. - struct MLMediaPlayerOnTrackDRMInfo
MediaPlayer Track DRM Info callback Info. - struct MLMediaPlayerOnVideoSizeChangedInfo
MediaPlayer Video Size Changed callback Info. - struct MLMediaPlayerPSSHEntry
PSSH entry. - struct MLMediaPlayerSubtitleData
MediaPlayer subtitle data. - struct MLMediaPlayerTrackDRMInfo
MediaPlayer DRM Info for a Media Track. - struct MLMediaPlayerTrackDRMSessionInfo
DRM Session information for a MediaPlayer Track. - struct MLMediaPlayerTrackInfo
MediaPlayer Track Information. - struct TTMLData
TTMLData data structure. - struct TTMLImage
TTMLData data structure. - struct WebVTTData
WebVTT data structure.
- struct MLMediaPlayerBufferingSettings
- class Track
Track from the prepared source that can be selected by the media player.- class DRM
MediaDRM to obtain the content keys for decrypting protected media streams.- struct Event
MediaDRM event info associated with a session. - struct Expiration
MediaDRM expiration update info associated with a session. - struct Info
MediaPlayer DRMInfo for a Media Track. - struct Key
MediaDRM session key info. - struct KeyStatuses
MediaDRM session keys status change info. - class NativeBindings
See ml_media_drm.h for additional comments. - class Session
A DRM session that's required for a media player track to be prepared.
- struct Event
- class NativeBindings
- class DRM
- class TracksContainer
- class NativeBindings
- classDataSource
- 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
Performance markers for MLMediaPlayer. - 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
Performance markers for MLMeshing. - 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
- struct MagicLeap
- class MagicLeap
- classCallbacks
- classNativeBindings
Permissions NativeBindings are only used when running in the Editor with Magic Leap App Simulator
- class MagicLeap
- class MagicLeap
- class MagicLeap
Used to print logs within the plugin. - 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
MLWebRTC class contains the API to interface with the WebRTC C API.- classAppDefinedAudioSource
Class that represents an app defined video source that can be used by the MLWebRTC API.- class NativeBindings
Native bindings for the MLWebRTC.AppDefinedAudioSource class.
- class NativeBindings
- classAppDefinedSource
Class that represents an app defined source that can be used by the MLWebRTC API.- class NativeBindings
Native bindings for the MLWebRTC.AppDefinedVideoSource class.- struct MLWebRTCAppDefinedSourceEventCallbacks
The native representation of the MLWebRTC data channel callback events.
- struct MLWebRTCAppDefinedSourceEventCallbacks
- class NativeBindings
- classAppDefinedVideoSource
Class that represents an app defined video source that can be used by the MLWebRTC API.- class NativeBindings
Native bindings for the MLWebRTC.AppDefinedVideoSource class.
- class NativeBindings
- classAudioSink
Class that represents an audio sink used by the MLWebRTC API.- class NativeBindings
Native bindings for the MLWebRTC.AudioSink class.- struct MLWebRTCAudioSinkOrientation
- struct MLWebRTCAudioSinkParams
- struct MLWebRTCAudioSinkPosition
- struct MLWebRTCAudioSinkSoundDistance
- struct MLWebRTCAudioSinkSoundLevels
- struct MLWebRTCAudioSinkSoundRadiation
- class NativeBindings
- classDataChannel
Class that represents a data channel used by the MLWebRTC API.- class NativeBindings
Native bindings for the MLWebRTC.DataChannel class.- struct MLWebRTCDataChannelEventCallbacks
The native representation of the MLWebRTC data channel callback events. - struct MLWebRTCDataChannelMessage
The native representation of the MLWebRTC data channel message.
- struct MLWebRTCDataChannelEventCallbacks
- class NativeBindings
- structIceCandidate
Class that represents an ice candidate used by the MLWebRTC API. - structIceServer
Class that represents an ice server used by the MLWebRTC API. - classMLCameraVideoSource
Demonstrates using the MLCamera as an app defined video source. - classMediaStream
Class that represents a media stream object.- class Track
Struct that represents a media stream track object.
- class Track
- classNativeBindings
Native bindings for the MLWebRTC class.- struct MLWebRTCDebugUtils
The native representation of the MLWebRTC debug utilities object.
- struct MLWebRTCDebugUtils
- classPeerConnection
Class that represents a connection used by the MLWebRTC API.- class NativeBindings
Native bindings for the MLWebRTC.PeerConnection class.- struct MLWebRTCConnectionConfig
The native representation of the MLWebRTC connection configuration. - struct MLWebRTCConnectionEventCallbacks
The native representation of the MLWebRTC callback events. - struct MLWebRTCConnectionIceCandidate
The native representation of an ice candidate. - struct MLWebRTCConnectionIceServer
The native representation of an ice server. - struct MLWebRTCConnectionProxyConfig
Native representation of proxy config - struct MLWebRTCTrackInfo
- struct MLWebRTCConnectionConfig
- class NativeBindings
- structProxyConfig
Class that represents an ice server used by the MLWebRTC API. - classSink
Class that represents a audio sink used by the MLWebRTC API. - classSource
Class that represents a source used by the MLWebRTC API.- class NativeBindings
Native bindings for the MLWebRTC.Source struct.- struct MLWebRTCAppDefinedSourceParams
- struct MLWebRTCSource
The native representation of an MLWebRTC source.
- class NativeBindings
- classVideoSink
Class that represents a video sink used by the MLWebRTC API. Video sinks are fed data by media sources and produces frames to render.- struct Frame
Struct representing a captured camera frame.- class NativeBindings
Native bindings for the MLWebRTC.Frame struct.- struct ImagePlaneInfoNative
Representation of the native image plane structure. - struct MLWebRTCFrame
Representation of the native frame structure. - struct MLWebRTCFramePlanes
- struct MLWebRTCNativeFrameInfo
- struct ImagePlaneInfoNative
- struct NativeBufferInfo
- struct PlaneInfo
Struct representing an image plane that comes from some captured camera frame.
- class NativeBindings
- class NativeBindings
Native bindings for the MLWebRTC.VideoSink class. - class Renderer
- struct Frame
- classAppDefinedAudioSource
- 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. - 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
- 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
- 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 OpenXR
- namespace OpenXR
- namespaceMagicLeapSupport
- class MLPlanesQueryFlagsAndPlaneDetectionModeExtensions
- class MLXrPlaneSubsystem
The Magic Leap implementation of the XRPlaneSubsystem . Do not create this directly. Use PlanesSubsystemDescriptor.Create() instead.- class ConvexHullGenerator
- struct CopyPlaneResultsJob
- class MagicLeapProvider
- class NativeBindings
- class PlaneBoundary
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. - struct PlanesQuery
- class XrTypes
- struct MLXrPlaneDetectorBeginInfo
- struct MLXrPlaneDetectorLocation
- struct MLXrPlaneDetectorLocations
- struct MLXrPlaneDetectorPolygonBuffer
- struct MLXrPose
- namespaceMagicLeapSupport
- class OpenXR
- namespace OpenXR
- namespace MagicLeap
- namespace XR
- namespace UnitySDKEditorTests
- class MLAnchors
- class MLAudio
- class MLAudioInput
- class MLAudioOutput
- class MLAudioPlayback
- class MLCVCamera
- class MLCamera
- class Metadata
- class MLCameraBase
- class MLController
- class MLConvert
- class MLDepthCamera
- class MLEyeCalibration
- class MLGazeRecognition
- class MLGestureClassification
- class MLGlobalDimmer
- class MLGraphicsHooks
- class MLHandTracking
- class MLHeadTracking
- class MLHeadsetFit
- class MLInput
- class MLMarkerTracker
- class MLMedia
- class Muxer
- class ParserCEA608
- class ParserCEA708
- class Player
- class Player
- class MLMediaFormat
- class MLMediaFormatKey
- class MLMediaRecorder
- class MLMediaTTML
- class MLMeshing
- class MLNativeSurface
- class MLPLanes
- class MLPerception
- class MLPermissions
- class MLResult
- class MLTime
- class MLVoice
- class MLWebRTC
- class AppDefinedAudioSource
- class AppDefinedVideoSource
- class AudioSink
- class DataChannel
- class PeerConnection
- class Source
- class VideoSink
- class VideoSink
- class MLWebView
- class MLWorldCamera
- class MagicLeapNativeBindingsEditModeTests
- class MagicLeapNativeBindingsStructSizeTests
- class MlSdkDllLoader
- class NativeBindingsTests
- class NativeBindingsTestsProvider
- class NativeLoader
- class XRStructSizeTests
- namespace UnitySDKPlayTests
- class MLAnchorsTests
- class MLAudioInputTests
- class MLCameraTests
- class MLEyesTests
- class MLFacialExpressionTests
- class MLGlobalDimmerTests
- class MLHandTrackingTests
- class MLInputs
- class ControllerTests
- class HapticsTests
- class MLMarkerTrackerTests
- class MLMedia
- class PlayerTests
- class MLMediaRecorderTests
- class MLMeshingTests
- class MLNotificationsTests
- class MLPermissionsTests
- class MLPlanesTests
- class MLPowerManagerTests
- class MLSegmentedDimmerTests
- class MLSpaceTests
- class MLTimeTests
- class MLVoiceTests
- class MLWebViewTests
- class MLWorldCameraTests
- class NativeSyncBufferTests
- struct SyncBufferJob
- struct UpdateBufferJob