docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method FromScale

    FromScale(float)

    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
    float scale

    The scale.

    Returns
    Type Description
    LocalTransform

    The Transform.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)