Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator ^

Returns the result of a componentwise bitwise exclusive or operation on two uint2 vectors.
Read time 1 minuteLast updated 12 days ago

Definition

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

operator ^(uint2, uint2)

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

Parameters

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

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

Returns

Type

Description

uint2uint2 result of the componentwise bitwise exclusive or.

operator ^(uint2, uint)

Returns the result of a componentwise bitwise exclusive or operation on a uint2 vector and a uint value.
public static uint2 operator ^(uint2 lhs, uint rhs)

Parameters

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

rhs

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

Returns

Type

Description

uint2uint2 result of the componentwise bitwise exclusive or.

operator ^(uint, uint2)

Returns the result of a componentwise bitwise exclusive or operation on a uint value and a uint2 vector.
public static uint2 operator ^(uint lhs, uint2 rhs)

Parameters

lhs

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

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

Returns

Type

Description

uint2uint2 result of the componentwise bitwise exclusive or.