Vector3.Scale(Vector3 a, Vector3 b)
Multiplies two vectors component-wise.
Parameters:
Name | Type | Description |
---|---|---|
a | Vector3 | |
b | Vector3 |
Returns:
type | Description |
---|---|
Vector3 | result |
Usage
---@type Vector3
local a;
---@type Vector3
local b;
local val0 = Vector3:Scale(a, b)
Extra Detail
Every component in the result is a component of a multiplied by the same component of b.