times

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

Return

this matrix for chaining.

Parameters

matrix3

values from this matrix will right-multiply this matrix. A*B results in AB.

See also

Matrix3.mulLeft

operator fun Matrix3.times(scalar: Float): Matrix3

Return

this matrix for chaining.

Parameters

scalar

scales the matrix in the both the x and y components.


operator fun Matrix3.times(vector2: Vector2): Vector2

Return

this matrix for chaining.

Parameters

vector2

this vector will be left-multiplied by this matrix, assuming the third component is 1f.


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

Return

this matrix for chaining.

Parameters

matrix4

values from this matrix will right-multiply this matrix. A*B results in AB.

See also

Matrix4.mulLeft

operator fun Matrix4.times(scalar: Float): Matrix4

Return

this matrix for chaining.

Parameters

scalar

scales the matrix in the x, y and z components.


operator fun Matrix4.times(vector3: Vector3): Vector3

Return

this matrix for chaining.

Parameters

vector3

this vector will be left-multiplied by this matrix, assuming the forth component is 1f.


operator fun IntRange.times(multiplier: Int): IntRange

Creates a range by scaling this range's start and endInclusive by the multiplier.


operator fun Int.times(range: IntRange): IntRange

Creates a range by scaling the range's start and endInclusive by this multiplier.


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

Return

a new Vector2 instance with the operation result.

Parameters

vector2

values from vector will multiply vector.


operator fun Vector2.times(scalar: Float): Vector2
operator fun Vector2.times(scalar: Int): Vector2

Return

a new Vector2 instance with the operation result.

Parameters

scalar

will be used to multiply both vector values.


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

Return

a new Vector3 instance with the operation result.

Parameters

vector3

values from this vector will multiply this vector.


operator fun Vector3.times(scalar: Float): Vector3
operator fun Vector3.times(scalar: Int): Vector3

Return

a new Vector3 instance with the operation result.

Parameters

scalar

will be used to multiply all vector values.


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

Return

a new Vector4 instance with the operation result.

Parameters

vector4

values from this vector will multiply this vector element-wise similarly to Vector4.scl.


operator fun Vector4.times(scalar: Float): Vector4
operator fun Vector4.times(scalar: Int): Vector4

Return

a new Vector4 instance with the operation result.

Parameters

scalar

will be used to multiply all vector values.