Api > Matrix4x4 > Operator ( Matrix4x4 * Vector4 )
Operator ( Matrix4x4 * Vector4 )⚓︎
Transforms a Vector4 by a matrix.
LHS Type | Symbol | RHS Type | Result Type |
---|---|---|---|
Matrix4x4 | * | Vector4 | Vector4 |
Usage⚓︎
---@type Matrix4x4
local lhs;
---@type Vector4
local rhs;
local result = lhs * rhs; -- result is Vector4