Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator !=

Returns the result of a componentwise not equal operation on two bool2 vectors.
Read time 1 minuteLast updated 4 days ago

Definition

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

operator !=(bool2, bool2)

Returns the result of a componentwise not equal operation on two bool2 vectors.
public static bool2 operator !=(bool2 lhs, bool2 rhs)

Parameters

Left hand side bool2 to use to compute componentwise not equal.

Right hand side bool2 to use to compute componentwise not equal.

Returns

Type

Description

bool2bool2 result of the componentwise not equal.

operator !=(bool2, bool)

Returns the result of a componentwise not equal operation on a bool2 vector and a bool value.
public static bool2 operator !=(bool2 lhs, bool rhs)

Parameters

Left hand side bool2 to use to compute componentwise not equal.

rhs

Right hand side bool to use to compute componentwise not equal.

Returns

Type

Description

bool2bool2 result of the componentwise not equal.

operator !=(bool, bool2)

Returns the result of a componentwise not equal operation on a bool value and a bool2 vector.
public static bool2 operator !=(bool lhs, bool2 rhs)

Parameters

lhs

Left hand side bool to use to compute componentwise not equal.

Right hand side bool2 to use to compute componentwise not equal.

Returns

Type

Description

bool2bool2 result of the componentwise not equal.