docs.unity.cn
    Show / Hide Table of Contents

    Method RotateY

    RotateY(Single)

    Rotates this Transform around the Y axis.

    Declaration
    public LocalTransform RotateY(float angle)
    Parameters
    Type Name Description
    Single angle

    The Y rotation.

    Returns
    Type Description
    LocalTransform

    A new, rotated 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