Class RenderingUtility | Magic Leap XR Plugin | 6.0.0
docs.unity3d.com
    Show / Hide Table of Contents

    Class RenderingUtility

    Inheritance
    Object
    RenderingUtility
    Namespace: UnityEngine.XR.MagicLeap.Rendering
    Syntax
    public static class RenderingUtility

    Methods

    GetMainCameraScale()

    Declaration
    public static float GetMainCameraScale()
    Returns
    Type Description
    Single

    GetParentScale(Transform)

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

    ToMagicLeapUnits(Single)

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

    ToUnityUnits(Single)

    Declaration
    public static float ToUnityUnits(float val)
    Parameters
    Type Name Description
    Single val
    Returns
    Type Description
    Single
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023