Skip to main content

Vector4.Scale(Vector4 a, Vector4 b)

Multiplies two vectors component-wise.

Parameters:

NameTypeDescription
aVector4a
bVector4b

Returns:

typeDescription
Vector4Scaled Vector

Usage

---@type Vector4
local a;

---@type Vector4
local b;


local val0 = Vector4:Scale(a, b)

Extra Detail

Every component in the result is a component of a multiplied by the same component of b.