ドキュメント

Unity Engine

Unity Engine

operator %

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

Definition

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

operator %(int3x4, int3x4)

Returns the result of a componentwise modulus operation on two int3x4 matrices.
public static int3x4 operator %(int3x4 lhs, int3x4 rhs)

Parameters

Left hand side int3x4 to use to compute componentwise modulus.

Right hand side int3x4 to use to compute componentwise modulus.

Returns

Type

Description

int3x4int3x4 result of the componentwise modulus.

operator %(int3x4, int)

Returns the result of a componentwise modulus operation on an int3x4 matrix and an int value.
public static int3x4 operator %(int3x4 lhs, int rhs)

Parameters

Left hand side int3x4 to use to compute componentwise modulus.

rhs

Right hand side int to use to compute componentwise modulus.

Returns

Type

Description

int3x4int3x4 result of the componentwise modulus.

operator %(int, int3x4)

Returns the result of a componentwise modulus operation on an int value and an int3x4 matrix.
public static int3x4 operator %(int lhs, int3x4 rhs)

Parameters

lhs

Left hand side int to use to compute componentwise modulus.

Right hand side int3x4 to use to compute componentwise modulus.

Returns

Type

Description

int3x4int3x4 result of the componentwise modulus.