Class SkyComponent

Inheritance Relationships

Base Type

Class Documentation

class SkyComponent : public Component

Used to add a skybox to the scene.

Public Functions

SkyComponent(Entity &owner, const JSON::json &data)
~SkyComponent()
ModelResourceFile *getSkySphere() const
SkyMaterialResourceFile *getSkyMaterial() const
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.