docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method inverse

    inverse(AffineTransform)

    Returns the inverse of an AffineTransform.

    Declaration
    public static AffineTransform inverse(AffineTransform a)
    Parameters
    Type Name Description
    AffineTransform a

    The AffineTransform to invert.

    Returns
    Type Description
    AffineTransform

    The inverse AffineTransform.

    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
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)