MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / createEntityByClassName

Function createEntityByClassName

test/algorithm/Entity.h:26–30  ·  view source on GitHub ↗

Create an entity from a simple classname string

Source from the content-addressed store, hash-verified

24
25// Create an entity from a simple classname string
26inline IEntityNodePtr createEntityByClassName(const std::string& className)
27{
28 auto cls = GlobalEntityClassManager().findClass(className);
29 return GlobalEntityModule().createEntity(cls);
30}
31
32}
33

Callers 7

TEST_FFunction · 0.85
TEST_FFunction · 0.85
performModelNodeTestFunction · 0.85
TEST_FFunction · 0.85
createMethod · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85

Calls 2

findClassMethod · 0.45
createEntityMethod · 0.45

Tested by

no test coverage detected