Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 818 Bytes

decentraland-ecs.vector3.transformnormal.md

File metadata and controls

21 lines (14 loc) · 818 Bytes

Home > decentraland-ecs > Vector3 > TransformNormal

Vector3.TransformNormal method

Returns a new Vector3 set with the result of the normal transformation by the given matrix of the given vector This methods computes transformed normalized direction vectors only (ie. it does not apply translation)

Signature:

static TransformNormal(vector: ReadOnlyVector3, transformation: Matrix): Vector3;

Returns: Vector3

the new Vector3

Parameters

Parameter Type Description
vector ReadOnlyVector3 defines the Vector3 to transform
transformation Matrix defines the transformation matrix