times

operator fun times(other: Vector3): Vector3

Multiplies this Vector3 instance by another Vector3 instance.

Return

A new Vector3 instance representing the result of multiplication.

Parameters

other

The Vector3 instance to multiply by.


operator fun times(scalar: Float): Vector3

Multiplies this Vector3 instance by a scalar.

Return

A new Vector3 instance representing the result of multiplication.

Parameters

scalar

The scalar to multiply by.