Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator +

Returns the result of a componentwise addition operation on two uint4 vectors.
Read time 1 minuteLast updated 4 days ago

Definition

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

operator +(uint4, uint4)

Returns the result of a componentwise addition operation on two uint4 vectors.
public static uint4 operator +(uint4 lhs, uint4 rhs)

Parameters

Left hand side uint4 to use to compute componentwise addition.

Right hand side uint4 to use to compute componentwise addition.

Returns

Type

Description

uint4uint4 result of the componentwise addition.

operator +(uint4, uint)

Returns the result of a componentwise addition operation on a uint4 vector and a uint value.
public static uint4 operator +(uint4 lhs, uint rhs)

Parameters

Left hand side uint4 to use to compute componentwise addition.

rhs

Right hand side uint to use to compute componentwise addition.

Returns

Type

Description

uint4uint4 result of the componentwise addition.

operator +(uint, uint4)

Returns the result of a componentwise addition operation on a uint value and a uint4 vector.
public static uint4 operator +(uint lhs, uint4 rhs)

Parameters

lhs

Left hand side uint to use to compute componentwise addition.

Right hand side uint4 to use to compute componentwise addition.

Returns

Type

Description

uint4uint4 result of the componentwise addition.