mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class RectTransformCubeScaler

    RectTransforms do not scale 3d objects (such as unit cubes) to fit within their bounds. This helper class will apply a scale to fit a unit cube into the bounds specified by the RectTransform. The Z component is scaled to the min of the X and Y components.

    Inheritance
    Object
    RectTransformCubeScaler
    Implements
    MonoBehaviour
    Namespace: Microsoft.MixedReality.Toolkit.Utilities
    Assembly: cs.temp.dll.dll
    Syntax
    public class RectTransformCubeScaler : MonoBehaviour, MonoBehaviour

    Implements

    MonoBehaviour
    In This Article
    • Implements
    Back to top Generated by DocFX