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

Method MakeData

Engine/source/EtFramework/Components/SpriteComponent.cpp:123–126  ·  view source on GitHub ↗

------------------------------- SpriteComponentDesc::MakeData Create a sprite component from a descriptor

Source from the content-addressed store, hash-verified

121// Create a sprite component from a descriptor
122//
123SpriteComponent* SpriteComponentDesc::MakeData()
124{
125 return new SpriteComponent(textureAsset, pivot, color);
126}
127
128
129} // namespace fw

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected