Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 930 Bytes

decentraland-ecs.vector3.transformnormaltoref.md

File metadata and controls

20 lines (14 loc) · 930 Bytes

Home > decentraland-ecs > Vector3 > TransformNormalToRef

Vector3.TransformNormalToRef method

Sets the given vector "result" 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 TransformNormalToRef(vector: ReadOnlyVector3, transformation: Readonly<Matrix>, result: Vector3): void;

Returns: void

Parameters

Parameter Type Description
vector ReadOnlyVector3 defines the Vector3 to transform
transformation Readonly<Matrix> defines the transformation matrix
result Vector3 defines the Vector3 where to store the result