Class UniformGravityParams#

Inheritance Relationships#

Base Type#

Class Documentation#

class UniformGravityParams : public Karana::Models::KModelParams#

Parameters for the UniformGravity class.

Public Functions

UniformGravityParams(std::string_view name)#

Constructor.

Parameters:

name – - Name of the params.

virtual bool isFinalized() const final#

Used to ensure the params are finalized.

Returns:

true if the params are finalized, `false otherwise.

virtual std::string dumpString(std::string_view prefix, const Karana::Core::Base::DumpOptions *options = nullptr) const override#

Return information about the object.

Parameters:
  • prefix – A string to use as prefix for each output line

  • options – Struct with options to tailor the output

Returns:

String with the information about the object.

Public Members

km::Vec3 g#

Gravity vector.