Class GraphicalScenePart#

Inheritance Relationships#

Base Types#

Derived Type#

Class Documentation#

class GraphicalScenePart : public virtual Karana::Scene::GraphicalSceneNode, public Karana::Scene::ScenePart#

ScenePart with an added graphics-specific interface.

See Scene layer for more discussion on the scene layer.

Subclassed by Karana::Scene::WebScenePart

Public Functions

virtual ~GraphicalScenePart()#

Public Static Functions

static kc::ks_ptr<GraphicalScenePart> create(std::string_view name, const VarStaticGeometry &geometry, const kc::ks_ptr<GraphicalScene> &scene, const VarMaterial &material = defaultMaterial(), layer_t layers = LAYER_PHYSICAL)#

Create a GraphicalScenePart.

Parameters:
Returns:

The new scene part.

Protected Functions

GraphicalScenePart(std::string_view name, const VarStaticGeometry &geometry, const VarMaterial &material, layer_t layers, const kc::ks_ptr<Scene> &scene)#

GraphicalScenePart constructor.

Parameters: