MCPcopy Create free account
hub / github.com/Illation/ETEngine / MakeData

Method MakeData

Projects/Demo/source/Common/SpawnComponent.cpp:122–125  ·  view source on GitHub ↗

------------------------------ SpawnComponentDesc::MakeData Create a spawn component from a descriptor

Source from the content-addressed store, hash-verified

120// Create a spawn component from a descriptor
121//
122SpawnComponent* SpawnComponentDesc::MakeData()
123{
124 return new SpawnComponent(mesh, material, scale, shape->MakeBulletCollisionShape(), mass, interval, impulse);
125}
126
127
128} // namespace demo

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected