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

Method ModelViewProjectionMatrix

graphic/graphic.go:268–271  ·  view source on GitHub ↗

ModelViewProjectionMatrix returns the last cached model view projection matrix for this graphic.

()

Source from the content-addressed store, hash-verified

266
267// ModelViewProjectionMatrix returns the last cached model view projection matrix for this graphic.
268func (gr *Graphic) ModelViewProjectionMatrix() *math32.Matrix4 {
269
270 return &gr.mvpm
271}
272
273// GraphicMaterial specifies the material to be used for
274// a subset of vertices from the Graphic geometry

Callers 4

RenderSetupMethod · 0.80
RenderSetupMethod · 0.80
RenderSetupMethod · 0.80
RenderSetupMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected