docs.unity.cn
    Show / Hide Table of Contents

    Method ApplyScale

    ApplyScale(Single)

    Scales this transform by the specified factor.

    Declaration
    public LocalTransform ApplyScale(float scale)
    Parameters
    Type Name Description
    Single scale

    The scaling factor.

    Returns
    Type Description
    LocalTransform

    A new, scaled Transform.

    Remarks

    Note that this doesn't modify the original transform. Rather it returns a new one.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023