class TransformExtension
package armory.object
Static methods
staticinlinegetLocalVecFromWorld(t:Transform, worldVec:Vec4):Vec4
Returns the given world vector in local coordinates
Parameters:
worldVec |
---|
Returns:
Vec4
staticinlinegetWorldVecFromLocal(t:Transform, localVec:Vec4):Vec4
Returns the given local vector in world coordinates
Parameters:
localVec |
---|
Returns:
Vec4
staticinlinegetWorldVectorAlongLocalAxis(t:Transform, worldVec:Vec4):Vec4
Returns the given world vector in local orientation
Parameters:
worldVec | Vector in world orientation |
---|
Returns:
Local vector
staticinlineworldVecToOrientation(t:Transform, worldVec:Vec4):Vec4
Returns the given world vector in transform orientation
Parameters:
worldVec |
---|
Returns:
Vec4