MCPcopy
hub / github.com/g3n/engine / MatrixWorld

Method MatrixWorld

core/node.go:812–815  ·  view source on GitHub ↗

MatrixWorld returns a copy of the matrix world of this node.

()

Source from the content-addressed store, hash-verified

810
811// MatrixWorld returns a copy of the matrix world of this node.
812func (n *Node) MatrixWorld() math32.Matrix4 {
813
814 return n.matrixWorld
815}
816
817// UpdateMatrix updates (if necessary) the local transform matrix
818// of this node based on its position, quaternion, and scale.

Callers 13

CalculateMatricesMethod · 0.80
RenderSetupMethod · 0.80
RenderSetupMethod · 0.80
BoneMatricesMethod · 0.80
ViewMatrixMethod · 0.80
UnprojectMethod · 0.80
classifyAndCullMethod · 0.80
SetFromCameraMethod · 0.80
RaycastSpriteMethod · 0.80
RaycastPointsMethod · 0.80
RaycastMeshMethod · 0.80
lineRaycastFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected