docs.unity.cn
    Show / Hide Table of Contents

    Method FromScale

    FromScale(Single)

    Returns a Transform initialized with the given scale. Position will be 0,0,0, and rotation will be identity.

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

    The scale.

    Returns
    Type Description
    LocalTransform

    The Transform.

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