Class RenderingUtility | Magic Leap XR Plugin | 5.0.1-preview.1
docs.unity.cn
    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 © 2020 Unity Technologies
    Generated by DocFX