Camera.project() method

Project a position into screen space

Signature:

project(modelPosition: number[], modelMatrix: any): any;

Parameters

ParameterDescription
modelPositionThe 3d position to project. e.g [0, 0, 0]
modelMatrixThe model transfrom matrix (in column major). Defaut to identity matrix;

Returns:

any