docs.unity3d.com
    Show / Hide Table of Contents

    Method inverse

    inverse(double2x2)

    Returns the double2x2 full inverse of a double2x2 matrix.

    Declaration
    public static double2x2 inverse(double2x2 m)
    Parameters
    Type Name Description
    double2x2 m

    Matrix to invert.

    Returns
    Type Description
    double2x2

    The inverted matrix.

    inverse(double3x3)

    Returns the double3x3 full inverse of a double3x3 matrix.

    Declaration
    public static double3x3 inverse(double3x3 m)
    Parameters
    Type Name Description
    double3x3 m

    Matrix to invert.

    Returns
    Type Description
    double3x3

    The inverted matrix.

    inverse(double4x4)

    Returns the double4x4 full inverse of a double4x4 matrix.

    Declaration
    public static double4x4 inverse(double4x4 m)
    Parameters
    Type Name Description
    double4x4 m

    Matrix to invert.

    Returns
    Type Description
    double4x4

    The inverted matrix.

    inverse(float2x2)

    Returns the float2x2 full inverse of a float2x2 matrix.

    Declaration
    public static float2x2 inverse(float2x2 m)
    Parameters
    Type Name Description
    float2x2 m

    Matrix to invert.

    Returns
    Type Description
    float2x2

    The inverted matrix.

    inverse(float3x3)

    Returns the float3x3 full inverse of a float3x3 matrix.

    Declaration
    public static float3x3 inverse(float3x3 m)
    Parameters
    Type Name Description
    float3x3 m

    Matrix to invert.

    Returns
    Type Description
    float3x3

    The inverted matrix.

    inverse(float4x4)

    Returns the float4x4 full inverse of a float4x4 matrix.

    Declaration
    public static float4x4 inverse(float4x4 m)
    Parameters
    Type Name Description
    float4x4 m

    Matrix to invert.

    Returns
    Type Description
    float4x4

    The inverted matrix.

    inverse(quaternion)

    Returns the inverse of a quaternion value.

    Declaration
    public static quaternion inverse(quaternion q)
    Parameters
    Type Name Description
    quaternion q

    The quaternion to invert.

    Returns
    Type Description
    quaternion

    The quaternion inverse of the input quaternion.

    inverse(RigidTransform)

    Returns the inverse of a RigidTransform.

    Declaration
    public static RigidTransform inverse(RigidTransform t)
    Parameters
    Type Name Description
    RigidTransform t

    The RigidTransform to invert.

    Returns
    Type Description
    RigidTransform

    The inverse RigidTransform.

    In This Article
    • inverse(double2x2)
    • inverse(double3x3)
    • inverse(double4x4)
    • inverse(float2x2)
    • inverse(float3x3)
    • inverse(float4x4)
    • inverse(quaternion)
    • inverse(RigidTransform)
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023