Struct StickPartsConfig#
Defined in File Defs.h
Struct Documentation#
-
struct StickPartsConfig#
Parameters for creating stick parts geometry.
Public Functions
-
inline StickPartsConfig()#
Public Members
-
ks::Color body_to_pnode_color = ks::Color::DARKMAGENTA#
Body to pnode color.
-
ks::Color body_to_onode_color = ks::Color::CYAN#
Body to pnode color.
-
ks::Color joint_color = ks::Color::DARKGREEN#
Subhinge axis color.
-
ks::Color body_to_constraint_node_color = ks::Color::DARKSLATEGRAY#
Body to constraint node color.
-
ks::Color constraint_node_color = ks::Color::BLUE#
Constraint node color.
-
ks::Color constraint_hinge_color = ks::Color::YELLOW#
Constraint hinge color.
-
ks::Color onode_color = ks::Color::ORANGERED#
onode color
-
ks::Color sensor_node_color = ks::Color::GREEN#
Non-force node color.
-
ks::Color force_node_color = ks::Color::TURQUOISE#
Force node color.
-
float body_stick_radius = 0.004f#
Radius for the body stick part cylinder.
-
float pin_hinge_length = 0.05f#
Length of the pin subhinge axis cylinder.
-
float pin_hinge_radius = 0.005f#
Radius of the pin subhinge axis cylinder.
-
float sphere_hinge_radius = 0.01f#
Radius of the spherical subhinge axis cylinder.
-
float hinge_axes_length = 0.04f#
Length of the pin subhinge axes.
-
ks::layer_t layers = ks::LAYER_STICK_FIGURE#
the scene layer type
-
bool skip_body_frame = true#
if true, do not include or use the body frame for the stick parts (work with nodes directly)
-
inline StickPartsConfig()#