void CalcViewMatrix(Matrix2F * m) const;
CalcViewMatrix calculates the view matrix of the tree node, i.e., the matrix that would transform local coordinates to the coordinates of the root tree node, which typically matches viewport.
CalcViewMatrix should not be called on cached tree nodes that don't have associated tree nodes (such as TreeShapeCacheLayer).
Parameters |
Description |
Matrix2F * m |
A view matrix of type Matrix2F. |