ドキュメント

Unity Engine

Unity Engine

operator ==

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

Definition

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

operator ==(half4, half4)

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

Parameters

Left hand side half4 to use to compute componentwise equality.

Right hand side half4 to use to compute componentwise equality.

Returns

Type

Description

bool4bool4 result of the componentwise equality.

operator ==(half4, half)

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

Parameters

Left hand side half4 to use to compute componentwise equality.

rhs

Right hand side half to use to compute componentwise equality.

Returns

Type

Description

bool4bool4 result of the componentwise equality.

operator ==(half, half4)

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

Parameters

lhs

Left hand side half to use to compute componentwise equality.

Right hand side half4 to use to compute componentwise equality.

Returns

Type

Description

bool4bool4 result of the componentwise equality.