times

operator fun times(other: Vector4): Vector4

Multiplies this Vector4 instance by another Vector4 instance.

Return

A new Vector4 instance representing the result of multiplication.

Parameters

other

The Vector4 instance to multiply by.


operator fun times(scalar: Float): Vector4

Multiplies this Vector4 instance by a scalar.

Return

A new Vector4 instance representing the result of multiplication.

Parameters

scalar

The scalar to multiply by.