文档

Unity Engine

Unity Engine

operator ==

Returns the result of a componentwise equality operation on two int2x4 matrices.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

operator ==(int2x4, int2x4)

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

Parameters

Left hand side int2x4 to use to compute componentwise equality.

Right hand side int2x4 to use to compute componentwise equality.

Returns

Type

Description

bool2x4bool2x4 result of the componentwise equality.

operator ==(int2x4, int)

Returns the result of a componentwise equality operation on an int2x4 matrix and an int value.
public static bool2x4 operator ==(int2x4 lhs, int rhs)

Parameters

Left hand side int2x4 to use to compute componentwise equality.

rhs

Right hand side int to use to compute componentwise equality.

Returns

Type

Description

bool2x4bool2x4 result of the componentwise equality.

operator ==(int, int2x4)

Returns the result of a componentwise equality operation on an int value and an int2x4 matrix.
public static bool2x4 operator ==(int lhs, int2x4 rhs)

Parameters

lhs

Left hand side int to use to compute componentwise equality.

Right hand side int2x4 to use to compute componentwise equality.

Returns

Type

Description

bool2x4bool2x4 result of the componentwise equality.