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

Function setCollectionString

source/MaterialXCore/Geom.h:189–192  ·  view source on GitHub ↗

Set the collection string of this element.

Source from the content-addressed store, hash-verified

187
188 /// Set the collection string of this element.
189 void setCollectionString(const string& collection)
190 {
191 setAttribute(COLLECTION_ATTRIBUTE, collection);
192 }
193
194 /// Return true if this element has a collection string.
195 bool hasCollectionString() const

Callers 2

setCollectionMethod · 0.70
setCollectionMethod · 0.70

Calls 1

setAttributeFunction · 0.85

Tested by

no test coverage detected