Class DecalComponent

Inheritance Relationships

Base Type

Class Documentation

class DecalComponent : public ModelComponent

Used to add decals (textures rendered on a surface like a sticker) to a object.

Public Functions

DecalComponent(Entity &owner, const JSON::json &data)
void render(float viewDistance)
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.