文档

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.