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

Method setIncludeCollection

source/MaterialXCore/Geom.cpp:83–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81//
82
83void Collection::setIncludeCollection(ConstCollectionPtr collection)
84{
85 if (collection)
86 {
87 setIncludeCollectionString(collection->getName());
88 }
89 else
90 {
91 removeAttribute(INCLUDE_COLLECTION_ATTRIBUTE);
92 }
93}
94
95void Collection::setIncludeCollections(const vector<ConstCollectionPtr>& collections)
96{

Callers 1

Geom.cppFile · 0.80

Calls 2

getNameMethod · 0.45

Tested by

no test coverage detected