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

Function findVisualScene

loader/collada/scene.go:161–170  ·  view source on GitHub ↗
(dom *Collada, uri string)

Source from the content-addressed store, hash-verified

159}
160
161func findVisualScene(dom *Collada, uri string) *VisualScene {
162
163 id := strings.TrimPrefix(uri, "#")
164 for _, vs := range dom.LibraryVisualScenes.VisualScene {
165 if vs.Id == id {
166 return vs
167 }
168 }
169 return nil
170}

Callers 1

NewSceneMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected