Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.1 KB

decentraland-ecs.vector3.transformnormalfromfloatstoref.md

File metadata and controls

22 lines (16 loc) · 1.1 KB

Home > decentraland-ecs > Vector3 > TransformNormalFromFloatsToRef

Vector3.TransformNormalFromFloatsToRef method

Sets the given vector "result" with the result of the normal transformation by the given matrix of the given floats (x, y, z) This methods computes transformed normalized direction vectors only (ie. it does not apply translation)

Signature:

static TransformNormalFromFloatsToRef(x: number, y: number, z: number, transformation: Readonly<Matrix>, result: Vector3): void;

Returns: void

Parameters

Parameter Type Description
x number define the x coordinate of the source vector
y number define the y coordinate of the source vector
z number define the z coordinate of the source vector
transformation Readonly<Matrix> defines the transformation matrix
result Vector3 defines the Vector3 where to store the result