ドキュメント

Unity Engine

Unity Engine

operator ==

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

Definition

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

operator ==(bool4, bool4)

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

Parameters

Left hand side bool4 to use to compute componentwise equality.

Right hand side bool4 to use to compute componentwise equality.

Returns

Type

Description

bool4bool4 result of the componentwise equality.

operator ==(bool4, bool)

Returns the result of a componentwise equality operation on a bool4 vector and a bool value.
public static bool4 operator ==(bool4 lhs, bool rhs)

Parameters

Left hand side bool4 to use to compute componentwise equality.

rhs

Right hand side bool to use to compute componentwise equality.

Returns

Type

Description

bool4bool4 result of the componentwise equality.

operator ==(bool, bool4)

Returns the result of a componentwise equality operation on a bool value and a bool4 vector.
public static bool4 operator ==(bool lhs, bool4 rhs)

Parameters

lhs

Left hand side bool to use to compute componentwise equality.

Right hand side bool4 to use to compute componentwise equality.

Returns

Type

Description

bool4bool4 result of the componentwise equality.