Lua
C++
Edit

TransformVector

This function transforms a 3D vector from one space to another.

Syntax

Parameter Description
v, (x, y, z) 3D vector to transform
src source 4x4 matrix or entity
dst destination 4x4 matrix or entity

Returns

Returns the transformed vector.

Copyright © 2006-2025 Leadwerks Software.
All rights reserved.
Leadwerks 4 Documentation