Class ProxyScenePartVars#

Inheritance Relationships#

Base Type#

Class Documentation#

class ProxyScenePartVars : public Karana::Scene::ScenePartVars#

The Vars for the ProxyScenePart class.

Public Functions

ProxyScenePartVars(const kc::ks_ptr<ProxyScenePart> &psp)#

ProxyScenePartVars constructor. The constructor is not meant to be called directly. Please use the create(…) method instead to create an instance.

Parameters:

psp – The proxy scene part associated with this ProxyScenePartVars.

~ProxyScenePartVars()#

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>> parent_frame#

The parent frame name.

Public Static Functions

static kc::ks_ptr<ProxyScenePartVars> create(const kc::ks_ptr<ProxyScenePart> &psp)#

Create an instance of the ProxyScenePartVars.

Parameters:

psp – The proxy scene part associated with this ProxyScenePartVars.

Returns:

A pointer to the newly created instance of ProxyScenePartVars.