Class SpriteComponent¶
Defined in File sprite_component.h
Inheritance Relationships¶
Base Type¶
public ModelComponent(Class ModelComponent)
Class Documentation¶
-
class
SpriteComponent: public ModelComponent¶ Component for rendering sprites. Supports billboarding.
Public Functions
-
~SpriteComponent()¶
-
Ref<MaterialResourceFile>
getOverridingMaterialResourceFile()¶
-
bool
preRender(float deltaMilliseconds)¶
-
void
postRender()¶
-
bool
setupData()¶ Perform setting up internal data needed from other components after they have been added to the owning entity.
-
JSON::json
getJSON() const¶ Get JSON representation of the component data needed to re-construct component from memory.
-
void
draw()¶ Expose the component data with ImGui.
-