Skip to main content

Vector3.Scale(Vector3 a, Vector3 b)

Multiplies two vectors component-wise.

Parameters:

NameTypeDescription
aVector3
bVector3

Returns:

typeDescription
Vector3result

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.