MCPcopy Index your code
hub / github.com/g3n/engine / GroupCount

Method GroupCount

geometry/geometry.go:105–108  ·  view source on GitHub ↗

GroupCount returns the number of geometry groups (for multimaterial).

()

Source from the content-addressed store, hash-verified

103
104// GroupCount returns the number of geometry groups (for multimaterial).
105func (g *Geometry) GroupCount() int {
106
107 return len(g.groups)
108}
109
110// GroupAt returns pointer to geometry group at the specified index.
111func (g *Geometry) GroupAt(idx int) *Group {

Callers 3

NewMeshMethod · 0.95
AddGroupMaterialMethod · 0.80
newNodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected