Vec4:mul

Edit

Multiplies the vector by a vector or a number.



Arguments

NameTypeDescription
uVec4 The other vector to multiply the components by.

Returns

NameTypeDescription
selfVec4 The modified vector.

Arguments

NameTypeDefaultDescription
xnumber A value to multiply x component by.
ynumberx A value to multiply y component by.
znumberx A value to multiply z component by.
wnumberx A value to multiply w component by.

Returns

NameTypeDescription
selfVec4 The modified vector.

See also