Struct SphericalQuatSubhingeParams#

Inheritance Relationships#

Base Type#

Struct Documentation#

struct SphericalQuatSubhingeParams : public Karana::Dynamics::PhysicalSubhingeParams#

Hold data related to a SphericalQuatSubhinge.

Public Functions

SphericalQuatSubhingeParams(bool prescribed = false)#

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

Parameters:

prescribed – Whether the joint is prescribed or not

~SphericalQuatSubhingeParams()#

Destructor.

SphericalQuatSubhingeParams(const SphericalQuatSubhingeParams&) = delete#
SphericalQuatSubhingeParams &operator=(const SphericalQuatSubhingeParams&) = delete#

Public Members

bool prescribed = false#

Whether this SphericalQuatSubhinge is prescribed or not.

Public Static Functions

static kc::ks_ptr<SphericalQuatSubhingeParams> create(bool prescribed = false)#

Create an instance of SphericalQuatSubhingeParams.

Parameters:

prescribed – Whether the joint is prescribed or not

Returns:

A pointer to the newly created SphericalQuatSubhingeParams.