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

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

    math.transform

    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 float3 transform(AffineTransform a, float3 pos);

    Parameters

    Parameter Description
    a The AffineTransform.
    pos The position to transform.

    Returns

    float3 The transformed position.

    Description

    Returns the result of transforming a float3 point by an AffineTransform.


    Declaration

    public static double3 transform(double4x4 a, double3 b);

    Parameters

    Parameter Description
    a Left hand side matrix argument that specifies the transformation.
    b Right hand side point argument to be transformed.

    Returns

    double3 The transformed point.

    Description

    Return the result of transforming a double3 point by a double4x4 matrix


    Declaration

    public static float3 transform(float4x4 a, float3 b);

    Parameters

    Parameter Description
    a Left hand side matrix argument that specifies the transformation.
    b Right hand side point argument to be transformed.

    Returns

    float3 The transformed point.

    Description

    Return the result of transforming a float3 point by a float4x4 matrix


    Declaration

    public static float3 transform(RigidTransform a, float3 pos);

    Parameters

    Parameter Description
    a The RigidTransform.
    pos The position to transform.

    Returns

    float3 The transformed position.

    Description

    Returns the result of transforming a float3 point by a RigidTransform.


    Web Proxy Viewer  |  New URL  |  Original Page