Class ScenePartVars#
Defined in File ScenePart.h
Inheritance Relationships#
Base Type#
public Karana::Scene::SceneNodeVars(Class SceneNodeVars)
Derived Type#
public Karana::Scene::ProxyScenePartVars(Class ProxyScenePartVars)
Class Documentation#
-
class ScenePartVars : public Karana::Scene::SceneNodeVars#
The Vars for the ScenePart class.
Subclassed by Karana::Scene::ProxyScenePartVars
Public Functions
-
ScenePartVars(const kc::ks_ptr<ScenePart> &sp)#
ScenePartVars constructor. The constructor is not meant to be called directly. Please use the create(…) method instead to create an instance.
- Parameters:
sp – The ScenePart associated with this ScenePartVars.
-
~ScenePartVars()#
Destructor.
-
virtual kc::NestedVars getAllVars() const override#
Get all the Vars that this VarHolder has.
- Returns:
A map of Vars, where the Var name is the key and the Var is the value.
Public Members
-
kc::ks_ptr<Karana::Core::Var_T<std::string>> layers_string#
Readable string representation of the layers for the ScenePart.
Public Static Functions
-
static kc::ks_ptr<ScenePartVars> create(const kc::ks_ptr<ScenePart> &sp)#
Create an instance of the ScenePartVars.
- Parameters:
sp – The ScenePart associated with this ScenePartVars.
- Returns:
A pointer to the newly created instance of ScenePartVars.
-
ScenePartVars(const kc::ks_ptr<ScenePart> &sp)#