ドキュメント

Unity Engine

Unity Engine

operator -

Returns the result of a componentwise subtraction operation on two int4x4 matrices.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Operator
  • Namespace: Unity.Mathematics
  • Assembly: UnityEngine.MathematicsModule

operator -(int4x4, int4x4)

Returns the result of a componentwise subtraction operation on two int4x4 matrices.
public static int4x4 operator -(int4x4 lhs, int4x4 rhs)

Parameters

Left hand side int4x4 to use to compute componentwise subtraction.

Right hand side int4x4 to use to compute componentwise subtraction.

Returns

Type

Description

int4x4int4x4 result of the componentwise subtraction.

operator -(int4x4, int)

Returns the result of a componentwise subtraction operation on an int4x4 matrix and an int value.
public static int4x4 operator -(int4x4 lhs, int rhs)

Parameters

Left hand side int4x4 to use to compute componentwise subtraction.

rhs

Right hand side int to use to compute componentwise subtraction.

Returns

Type

Description

int4x4int4x4 result of the componentwise subtraction.

operator -(int, int4x4)

Returns the result of a componentwise subtraction operation on an int value and an int4x4 matrix.
public static int4x4 operator -(int lhs, int4x4 rhs)

Parameters

lhs

Left hand side int to use to compute componentwise subtraction.

Right hand side int4x4 to use to compute componentwise subtraction.

Returns

Type

Description

int4x4int4x4 result of the componentwise subtraction.