MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/MaterialX / getViewerGeoms

Function getViewerGeoms

python/Scripts/mxvalidate.py:342–350  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

340 return s
341
342def getViewerGeoms(elem):
343 s = ""
344 if elem.hasViewerGeom():
345 s = s + ' viewergeom "%s"' % elem.getViewerGeom()
346 if elem.hasViewerCollection():
347 s = s + ' viewercollection "%s"' % elem.getViewerCollection()
348 if s:
349 s = " of" + s
350 return s
351
352def getTarget(elem):
353 if elem.hasTarget():

Callers 1

listContentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected