Struct Multibody::StickPartsConfig#
Defined in File Multibody.h
Nested Relationships#
This struct is a nested type of Class Multibody.
Struct Documentation#
-
struct StickPartsConfig#
Parameters for creating stick parts geometry.
Public Functions
-
inline StickPartsConfig()#
Public Members
-
ks::Color body_color = ks::Color::DARKMAGENTA#
Body color.
-
ks::Color joint_color = ks::Color::ORANGERED#
Subhinge axis color.
-
ks::Color constraint_color = ks::Color::RED#
Constraint part color.
-
ks::Color sensor_node_color = ks::Color::GREEN#
Non-force node color.
-
ks::Color force_node_color = ks::Color::BLUE#
Force node color.
-
float body_stick_radius = 0.02f#
Radius for the body stick part cyliner.
-
float pin_hinge_length = 0.1f#
Length of the pin subhinge axis cylinder.
-
float pin_hinge_radius = 0.05f#
Radius of the pin subhinge axis cylinder.
-
float sphere_hinge_radius = 0.07f#
Radius of the spherical subhinge axis cylinder.
-
float hinge_axes_length = 0.2f#
Length of the pin subhinge axes.
-
ks::layer_t layers = ks::LAYER_STICK_FIGURE#
the scene layer type
-
inline StickPartsConfig()#