plus

operator fun Matrix3.plus(matrix3: Matrix3): Matrix3

Return

this matrix for chaining.

Parameters

matrix3

values from this matrix will be added to this matrix.


operator fun Matrix4.plus(matrix4: Matrix4): Matrix4

Return

this matrix for chaining.

Parameters

matrix4

values from this matrix will be added to this matrix.


operator fun IntRange.plus(addend: Int): IntRange

Creates a range by shifting this range's start and endInclusive by the addend.


operator fun Vector2.plus(vector2: Vector2): Vector2

Return

a new Vector2 instance with the operation result.

Parameters

vector2

values from vector will be added to vector.


operator fun Vector2.plus(addend: Float): Vector2
operator fun Vector2.plus(addend: Int): Vector2

Return

a new Vector2 instance with the operation result.

Parameters

addend

this value will be added to both x and y of the vector.


operator fun Vector3.plus(vector3: Vector3): Vector3

Return

a new Vector3 instance with the operation result.

Parameters

vector3

values from this vector will be added to this vector.


operator fun Vector3.plus(vector2: Vector2): Vector3

Modifies x and y components of this vector.

Return

a new Vector3 instance with the operation result.

Parameters

vector2

values from this vector will be added to this vector.


operator fun Vector3.plus(addend: Float): Vector3
operator fun Vector3.plus(addend: Int): Vector3

Return

a new Vector3 instance with the operation result.

Parameters

addend

will be added to x, y and z components of this vector.


operator fun Vector4.plus(vector4: Vector4): Vector4

Return

a new Vector4 instance with the operation result.

Parameters

vector4

values from this vector will be added to this vector.


operator fun Vector4.plus(vector2: Vector2): Vector4

Return

a new Vector4 instance with the operation result.

Parameters

vector2

values from this vector will be added to this vector.


operator fun Vector4.plus(vector3: Vector3): Vector4

Return

a new Vector4 instance with the operation result.

Parameters

vector3

values from this vector will be added to this vector.


operator fun Vector4.plus(addend: Float): Vector4
operator fun Vector4.plus(addend: Int): Vector4

Return

a new Vector4 instance with the operation result.

Parameters

addend

will be added to X, Y, Z and W components of this vector.