docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RenderingUtility

    Inheritance
    object
    RenderingUtility
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.XR.MagicLeap.Rendering
    Assembly: UnityEngine.XR.MagicLeap.dll
    Syntax
    public static class RenderingUtility

    Methods

    GetMainCameraScale()

    Declaration
    public static float GetMainCameraScale()
    Returns
    Type Description
    float

    GetParentScale(Transform)

    Declaration
    public static float GetParentScale(Transform transform)
    Parameters
    Type Name Description
    Transform transform
    Returns
    Type Description
    float

    ToMagicLeapUnits(float)

    Declaration
    public static float ToMagicLeapUnits(float val)
    Parameters
    Type Name Description
    float val
    Returns
    Type Description
    float

    ToUnityUnits(float)

    Declaration
    public static float ToUnityUnits(float val)
    Parameters
    Type Name Description
    float val
    Returns
    Type Description
    float
    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)