Class ScenePartSpecVars#
Defined in File ScenePart.h
Inheritance Relationships#
Base Type#
public Karana::Core::BaseVars(Class BaseVars)
Class Documentation#
-
class ScenePartSpecVars : public Karana::Core::BaseVars#
The Vars for the ScenePartSpec class.
Public Functions
-
ScenePartSpecVars(const ScenePartSpec &sps)#
ScenePartSpecVars constructor. The constructor is not meant to be called directly. Please use the create(…) method instead to create an instance.
- Parameters:
sps – The ScenePartSpec associated with this ScenePartSpecVars.
-
~ScenePartSpecVars()#
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<ScenePartSpecVars> create(const ScenePartSpec &sps)#
Create an instance of the ScenePartSpecVars.
- Parameters:
sps – The ScenePartSpec associated with this ScenePartSpecVars.
- Returns:
A pointer to the newly created instance of ScenePartSpecVars.
-
ScenePartSpecVars(const ScenePartSpec &sps)#