Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator ^

Returns the result of a componentwise bitwise exclusive or operation on two bool4x2 matrices.
Read time 1 minuteLast updated 4 days ago

Definition

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

operator ^(bool4x2, bool4x2)

Returns the result of a componentwise bitwise exclusive or operation on two bool4x2 matrices.
public static bool4x2 operator ^(bool4x2 lhs, bool4x2 rhs)

Parameters

Left hand side bool4x2 to use to compute componentwise bitwise exclusive or.

Right hand side bool4x2 to use to compute componentwise bitwise exclusive or.

Returns

Type

Description

bool4x2bool4x2 result of the componentwise bitwise exclusive or.

operator ^(bool4x2, bool)

Returns the result of a componentwise bitwise exclusive or operation on a bool4x2 matrix and a bool value.
public static bool4x2 operator ^(bool4x2 lhs, bool rhs)

Parameters

Left hand side bool4x2 to use to compute componentwise bitwise exclusive or.

rhs

Right hand side bool to use to compute componentwise bitwise exclusive or.

Returns

Type

Description

bool4x2bool4x2 result of the componentwise bitwise exclusive or.

operator ^(bool, bool4x2)

Returns the result of a componentwise bitwise exclusive or operation on a bool value and a bool4x2 matrix.
public static bool4x2 operator ^(bool lhs, bool4x2 rhs)

Parameters

lhs

Left hand side bool to use to compute componentwise bitwise exclusive or.

Right hand side bool4x2 to use to compute componentwise bitwise exclusive or.

Returns

Type

Description

bool4x2bool4x2 result of the componentwise bitwise exclusive or.