MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / IsObjDefined

Method IsObjDefined

src/luxrays/core/namedobjectvector.cpp:68–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68bool NamedObjectVector::IsObjDefined(const std::string &name) const {
69 return (name2index.left.count(name) > 0);
70}
71
72const NamedObject *NamedObjectVector::GetObj(const std::string &name) const {
73 return objs[GetIndex(name)];

Callers 5

IsExtMeshDefinedMethod · 0.80
DefineExtMeshMethod · 0.80
IsSceneObjectDefinedMethod · 0.80
IsMaterialDefinedMethod · 0.80
IsTextureDefinedMethod · 0.80

Calls 1

countMethod · 0.45

Tested by

no test coverage detected