docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ApplyScale

    ApplyScale(float)

    Scales this transform by the specified factor.

    Declaration
    public LocalTransform ApplyScale(float scale)
    Parameters
    Type Name Description
    float 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.

    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)