Skip to main content

Matrix4x4.MultiplyPoint3x4(Vector3 point)

Transforms a position by this matrix (fast).

Parameters:

NameTypeDescription
pointVector3point

Returns:

typeDescription
Vector3position v transformed by the current transformation matrix

Usage

---@type Matrix4x4
local matrix4x4;

---@type Vector3
local point;


local val0 = matrix4x4.MultiplyPoint3x4( point)

Extra Detail

Returns a position v transformed by the current transformation matrix. This function is a faster version of MultiplyPoint; but it can only handle regular 3D transformations. MultiplyPoint is slower, but can handle projective transformations as well.