Vec4:mul
EditMultiplies the vector by a vector or a number.
Arguments
Name | Type | Description |
u | Vec4 | The other vector to multiply the components by. |
Returns
Name | Type | Description |
self | Vec4 | The modified vector. |
Arguments
Name | Type | Default | Description |
x | number | A value to multiply x component by. | |
y | number | x | A value to multiply y component by. |
z | number | x | A value to multiply z component by. |
w | number | x | A value to multiply w component by. |
Returns
Name | Type | Description |
self | Vec4 | The modified vector. |