Api > Matrix4x4 > MultiplyPoint()
Matrix4x4.MultiplyPoint(Vector3 point)⚓︎
Transforms a position by this matrix (generic).
Parameters:⚓︎
Name | Type | Description |
---|---|---|
point | Vector3 | point |
Returns:⚓︎
type | Description |
---|---|
Vector3 | Position v transformed by the current fully arbitrary matrix |
Usage⚓︎
---@type Matrix4x4
local matrix4x4;
---@type Vector3
local point;
local val0 = matrix4x4.MultiplyPoint(point)
Extra Detail⚓︎
Returns a position v transformed by the current fully arbitrary matrix. If the matrix is a regular 3D transformation matrix, it is much faster to use MultiplyPoint3x4 instead. MultiplyPoint is slower, but can handle projective transformations as well.