Version: Unity 6.5 Alpha (6000.5)
LanguageEnglish
  • C#

math.inverse

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

Cancel

Declaration

public static AffineTransform inverse(AffineTransform a);

Parameters

Parameter Description
a The AffineTransform to invert.

Returns

AffineTransform The inverse AffineTransform.

Description

Returns the inverse of an AffineTransform.


Declaration

public static double2x2 inverse(double2x2 m);

Parameters

Parameter Description
m Matrix to invert.

Returns

double2x2 The inverted matrix.

Description

Returns the double2x2 full inverse of a double2x2 matrix.


Declaration

public static double3x3 inverse(double3x3 m);

Parameters

Parameter Description
m Matrix to invert.

Returns

double3x3 The inverted matrix.

Description

Returns the double3x3 full inverse of a double3x3 matrix.


Declaration

public static double4x4 inverse(double4x4 m);

Parameters

Parameter Description
m Matrix to invert.

Returns

double4x4 The inverted matrix.

Description

Returns the double4x4 full inverse of a double4x4 matrix.


Declaration

public static float2x2 inverse(float2x2 m);

Parameters

Parameter Description
m Matrix to invert.

Returns

float2x2 The inverted matrix.

Description

Returns the float2x2 full inverse of a float2x2 matrix.


Declaration

public static float3x3 inverse(float3x3 m);

Parameters

Parameter Description
m Matrix to invert.

Returns

float3x3 The inverted matrix.

Description

Returns the float3x3 full inverse of a float3x3 matrix.


Declaration

public static float4x4 inverse(float4x4 m);

Parameters

Parameter Description
m Matrix to invert.

Returns

float4x4 The inverted matrix.

Description

Returns the float4x4 full inverse of a float4x4 matrix.


Declaration

public static quaternion inverse(quaternion q);

Parameters

Parameter Description
q The quaternion to invert.

Returns

quaternion The quaternion inverse of the input quaternion.

Description

Returns the inverse of a quaternion value.


Declaration

public static RigidTransform inverse(RigidTransform t);

Parameters

Parameter Description
t The RigidTransform to invert.

Returns

RigidTransform The inverse RigidTransform.

Description

Returns the inverse of a RigidTransform.