docs.unity.cn
    Show / Hide Table of Contents

    Method FromPositionRotationScale

    FromPositionRotationScale(float3, quaternion, Single)

    Returns a Transform initialized with the given position, rotation and scale.

    Declaration
    public static LocalTransform FromPositionRotationScale(float3 position, quaternion rotation, float scale)
    Parameters
    Type Name Description
    float3 position

    The position.

    quaternion rotation

    The rotation.

    Single scale

    The scale.

    Returns
    Type Description
    LocalTransform

    The Transform.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, August 10, 2023