Class TimeDisplayParamsVars#

Inheritance Relationships#

Base Type#

Class Documentation#

class TimeDisplayParamsVars : public Karana::Core::BaseVars#

The Vars for the TimeDisplayParams class.

Public Functions

TimeDisplayParamsVars(const kc::ks_ptr<const TimeDisplayParams> &body)#

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

Parameters:

body – The body associated with this TimeDisplayParamsVars.

~TimeDisplayParamsVars()#

Destructor.

virtual kc::NestedVars getAllVars() const override#

Get all the Vars that this TimeDisplayParamsVars 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<Karana::Math::Vec>> color#

Color of the time text.

Public Static Functions

static kc::ks_ptr<TimeDisplayParamsVars> create(const kc::ks_ptr<const TimeDisplayParams> &body)#

Create an instance of the TimeDisplayParamsVars.

Parameters:

body – The body associated with this TimeDisplayParamsVars.

Returns:

A pointer to the newly created instance of TimeDisplayParamsVars.