Class SceneFileObjectVars#
Defined in File SceneFileObject.h
Inheritance Relationships#
Base Type#
public Karana::Scene::SceneNodeVars(Class SceneNodeVars)
Derived Type#
public Karana::Scene::ProxySceneFileObjectVars(Class ProxySceneFileObjectVars)
Class Documentation#
-
class SceneFileObjectVars : public Karana::Scene::SceneNodeVars#
The Vars for the SceneFileObject class.
Subclassed by Karana::Scene::ProxySceneFileObjectVars
Public Functions
-
SceneFileObjectVars(const kc::ks_ptr<const SceneFileObject> &sp)#
SceneFileObjectVars constructor. The constructor is not meant to be called directly. Please use the create(…) method instead to create an instance.
- Parameters:
sp – The SceneFileObject associated with this SceneFileObjectVars.
-
~SceneFileObjectVars()#
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>> filepath#
The filepath of the SceneFileObject.
-
kc::ks_ptr<Karana::Core::Var_T<int>> layers#
The layers for the SceneFileObject.
-
kc::ks_ptr<Karana::Core::Var_T<std::string>> layers_string#
Readable string representation of the layers for the SceneFileObject.
Public Static Functions
-
static kc::ks_ptr<SceneFileObjectVars> create(const kc::ks_ptr<const SceneFileObject> &sp)#
Create an instance of the SceneFileObjectVars.
- Parameters:
sp – The SceneFileObject associated with this SceneFileObjectVars.
- Returns:
A pointer to the newly created instance of SceneFileObjectVars.
-
SceneFileObjectVars(const kc::ks_ptr<const SceneFileObject> &sp)#