ドキュメント

Unity Engine

Unity Engine

operator ==

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

Definition

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

operator ==(float2x2, float2x2)

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

Parameters

Left hand side float2x2 to use to compute componentwise equality.

Right hand side float2x2 to use to compute componentwise equality.

Returns

Type

Description

bool2x2bool2x2 result of the componentwise equality.

operator ==(float2x2, float)

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

Parameters

Left hand side float2x2 to use to compute componentwise equality.

Right hand side float to use to compute componentwise equality.

Returns

Type

Description

bool2x2bool2x2 result of the componentwise equality.

operator ==(float, float2x2)

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

Parameters

Left hand side float to use to compute componentwise equality.

Right hand side float2x2 to use to compute componentwise equality.

Returns

Type

Description

bool2x2bool2x2 result of the componentwise equality.