기술 자료

Unity Engine

Unity Engine

operator %

Returns the result of a componentwise modulus operation on two float2x2 matrices.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

operator %(float2x2, float2x2)

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

Parameters

Left hand side float2x2 to use to compute componentwise modulus.

Right hand side float2x2 to use to compute componentwise modulus.

Returns

Type

Description

float2x2float2x2 result of the componentwise modulus.

operator %(float2x2, float)

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

Parameters

Left hand side float2x2 to use to compute componentwise modulus.

Right hand side float to use to compute componentwise modulus.

Returns

Type

Description

float2x2float2x2 result of the componentwise modulus.

operator %(float, float2x2)

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

Parameters

Left hand side float to use to compute componentwise modulus.

Right hand side float2x2 to use to compute componentwise modulus.

Returns

Type

Description

float2x2float2x2 result of the componentwise modulus.