Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator ^

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

Definition

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

operator ^(uint2x2, uint2x2)

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

Parameters

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

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

Returns

Type

Description

uint2x2uint2x2 result of the componentwise bitwise exclusive or.

operator ^(uint2x2, uint)

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

Parameters

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

rhs

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

Returns

Type

Description

uint2x2uint2x2 result of the componentwise bitwise exclusive or.

operator ^(uint, uint2x2)

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

Parameters

lhs

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

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

Returns

Type

Description

uint2x2uint2x2 result of the componentwise bitwise exclusive or.