Class SceneNodeVars#
Defined in File SceneNode.h
Inheritance Relationships#
Base Type#
public Karana::Core::BaseVars(Class BaseVars)
Derived Type#
public Karana::Scene::ScenePartVars(Class ScenePartVars)
Class Documentation#
-
class SceneNodeVars : public Karana::Core::BaseVars#
The Vars for the SceneNode class.
Subclassed by Karana::Scene::ScenePartVars
Public Functions
-
SceneNodeVars(const kc::ks_ptr<SceneNode> &snode)#
SceneNodeVars constructor. The constructor is not meant to be called directly. Please use the create(…) method instead to create an instance.
- Parameters:
snode – The scene node associated with this SceneNodeVars.
-
~SceneNodeVars()#
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
Public Static Functions
-
static kc::ks_ptr<SceneNodeVars> create(const kc::ks_ptr<SceneNode> &snode)#
Create an instance of the SceneNodeVars.
- Parameters:
snode – The scene node associated with this SceneNodeVars.
- Returns:
A pointer to the newly created instance of SceneNodeVars.
-
SceneNodeVars(const kc::ks_ptr<SceneNode> &snode)#