docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Namespace UnityEngine.XR.MagicLeap

    Classes

    MLSpatialMapper

    Monobehaviour representing the Magic Leap Spatial mapper

    MagicLeapAnchorSubsystem

    The Magic Leap implementation of the XRAnchorSubsystem. Do not create this directly. Use XRAnchorSubsystemDescriptor.Create() instead.

    MagicLeapAnchorSubsystem.AnchorProvider

    MagicLeapConstants

    Container class for various constants

    MagicLeapController

    MagicLeapControllerUsages

    Static class for Input Features for Controllers

    MagicLeapGestureSubsystem

    MagicLeap implementation of the XRGestureSubsystem. Do not create this directly. Use the SubsystemManager instead.

    MagicLeapGestures

    Controls the lifecycle and configuration options for a Magic Leap gesture subsystem. There is only one active Magic Leap Gestures. The event callbacks will inform code of when gesture events occur.

    MagicLeapHandDevice

    MagicLeapHandUsages

    Static class for Input Features for hands

    MagicLeapHeadUsages

    Static class for Input Features for Head usages

    MagicLeapInput

    Monobehaviour for a Magic Leap Controller

    MagicLeapInputExtensions

    Input extensions for Magic Leap

    MagicLeapInputUtility

    Utility static class

    MagicLeapLightwear

    MagicLeapLoader

    MagicLeapLogger

    Logging class that collects various logging facilities under one static class.

    MagicLeapPerformance

    MagicLeapPlaneSubsystem

    The Magic Leap implementation of the XRPlaneSubsystem. Do not create this directly. Use MagicLeapPlaneSubsystemDescriptor.Create() instead.

    MagicLeapPlaneSubsystem.PlaneProvider

    MagicLeapProjectValidation

    MagicLeapProjectValidation.ValidationRule

    A Build-time validation rule.

    MagicLeapRaycastSubsystem

    The Magic Leap implementation of the XRRaycastSubsystem. Do not create this directly. Use XRRaycastSubsystemDescriptor.Create() instead.

    MagicLeapRaycastSubsystem.RaycastProvider

    MagicLeapSessionSubsystem

    The Magic Leap implementation of the XRSessionSubsystem. Do not create this directly. Use MagicLeapSessionSubsystemDescriptor.Create() instead.

    MagicLeapSessionSubsystem.SessionProvider

    MagicLeapSettings

    Scriptable object containing project-wide Magic Leap settings

    MagicLeapTextureTools

    RaycastResultStateExtensions

    Extensions for the RaycastResultState enum.

    Structs

    AsyncRaycastResult

    Represents a Magic Leap asynchronous raycast result. The result must be created using AsyncRaycast(RaycastQuery). This API may be used from other threads.

    MagicLeapTouchpadGestureEvent

    The event data related to a Magic Leap Touchpad gesture

    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.

    PlaneBoundaryCollection

    Represents a collection of concave BoundedPlane boundaries obtained from GetAllBoundariesForPlane(TrackableId).

    PlaneBoundaryCollection.Enumerator

    An enumerator which can be used by a foreach statement to iterate over the elements in a PlaneBoundaryCollection.

    QueryControllerEnabled

    QueryEyesEnabled

    RaycastQuery

    Represents a raycast query.

    SendControllerVibe

    SendLEDEffect

    SendLEDPattern

    SetControllerEnabled

    SetEyesEnabled

    Enums

    CalibrationStatus

    Enum representing the eye calibration status for a MagicLeapLightwear headset. For use with IntegerControl MagicLeapLightwear.eyeCalibrationStatus

    ControllerCalibrationAccuracy

    Enum representing the current controller calibration accuracy For use with MagicLeapController.calibrationAccuracy IntegerControl

    ControllerDoF

    Enum representing the eye calibration status for a MagicLeapLightwear headset. For use with MagicLeapController.dof IntegerControl

    ControllerType

    Enum representing the type of Magic Leap Controller being used. For use with MagicLeapController.type IntegerControl

    LEDColor

    LEDEffect

    LEDPattern

    LEDSpeed

    MLSpatialMapper.LevelOfDetail

    Describes the level of detail (LOD) to request from the generated meshes. This property is deprecated, and has been replaced by density.

    MLSpatialMapper.MeshType

    What type of mesh to generate: a triangle mesh or a point cloud

    MagicLeapInputControllerTouchpadGestureType

    The type of the touchpad gesture.

    MagicLeapLogger.LogLevel

    The logging level to use. Ranges from 'Verbose' to 'Fatal'

    MagicLeapTouchpadGestureDirection

    The direction of the touchpad gesture.

    RaycastResultState

    Represents the state of a RaycastResult.

    VibeIntensity

    VibePattern

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)