docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MagicLeapLoaderUI

    Inheritance
    object
    MagicLeapLoaderUI
    Implements
    IXRCustomLoaderUI
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.XR.MagicLeap
    Assembly: UnityEditor.XR.MagicLeap.dll
    Syntax
    [XRCustomLoaderUI("UnityEngine.XR.MagicLeap.MagicLeapLoader", BuildTargetGroup.Android)]
    public class MagicLeapLoaderUI : IXRCustomLoaderUI

    Fields

    m_IconSize

    Declaration
    protected Vector2 m_IconSize
    Field Value
    Type Description
    Vector2

    renderLineHeight

    Declaration
    protected float renderLineHeight
    Field Value
    Type Description
    float

    Properties

    ActiveBuildTargetGroup

    Declaration
    public BuildTargetGroup ActiveBuildTargetGroup { get; set; }
    Property Value
    Type Description
    BuildTargetGroup

    IncompatibleLoaders

    Currently, we don't have any Incompatible loaders with Magic Leap. If we do run into any, we add the names of the loaders here.

    Declaration
    public string[] IncompatibleLoaders { get; }
    Property Value
    Type Description
    string[]

    IsLoaderEnabled

    Declaration
    public bool IsLoaderEnabled { get; set; }
    Property Value
    Type Description
    bool

    RequiredRenderHeight

    Declaration
    public float RequiredRenderHeight { get; protected set; }
    Property Value
    Type Description
    float

    Methods

    CalculateRectForContent(float, float, GUIStyle, GUIContent)

    Declaration
    protected Rect CalculateRectForContent(float xMin, float yMin, GUIStyle style, GUIContent content)
    Parameters
    Type Name Description
    float xMin
    float yMin
    GUIStyle style
    GUIContent content
    Returns
    Type Description
    Rect

    OnGUI(Rect)

    Declaration
    public void OnGUI(Rect rect)
    Parameters
    Type Name Description
    Rect rect

    SetRenderedLineHeight(float)

    Declaration
    public void SetRenderedLineHeight(float height)
    Parameters
    Type Name Description
    float height

    Implements

    IXRCustomLoaderUI
    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)