[ Web Proxy ]
URL:
Viewing: https://docs.unity3d.com/ScriptReference/Unity.Mathematics.math.RigidTransform.html [Back]  [Original]

Unity - Scripting API: Unity.Mathematics.math.RigidTransform
Version: Unity 6.5 (6000.5)
    • Supported
    • Legacy
    LanguageEnglish
    • C#

    math.RigidTransform

    Suggest a change

    Success!

    Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

    Close

    Submission failed

    For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

    Close
    Your name Your email Suggestion* Submit suggestion

    Cancel

    Declaration

    public static RigidTransform RigidTransform(quaternion rot, float3 pos);

    Parameters

    Parameter Description
    rot The quaternion rotation.
    pos The translation vector.

    Returns

    RigidTransform The RigidTransform of the given rotation quaternion and translation vector.

    Description

    Returns a RigidTransform constructed from a rotation represented by a unit quaternion and a translation represented by a float3 vector.


    Declaration

    public static RigidTransform RigidTransform(float3x3 rotation, float3 translation);

    Parameters

    Parameter Description
    rotation The float3x3 rotation matrix.
    translation The translation vector.

    Returns

    RigidTransform The RigidTransform of the given rotation matrix and translation vector.

    Description

    Returns a RigidTransform constructed from a rotation represented by a float3x3 rotation matrix and a translation represented by a float3 vector.


    Declaration

    public static RigidTransform RigidTransform(float4x4 transform);

    Parameters

    Parameter Description
    transform The float4x4 transformation matrix.

    Returns

    RigidTransform The RigidTransform of the given float4x4 transformation matrix.

    Description

    Returns a RigidTransform constructed from a rotation represented by a float3x3 matrix and a translation represented by a float3 vector.


    Web Proxy Viewer  |  New URL  |  Original Page