|
Rapier C — 3D / f64 0.36.0+c.0
|
Debug-render colors and sizes. More...
#include <rapier.h>
Data Fields | |
| uint32_t | subdivisions |
| Positive number of subdivisions approximating curved shapes. | |
| uint32_t | border_subdivisions |
| Positive number of subdivisions approximating the borders of round shapes. | |
| float | collider_dynamic_color [4] |
| Color of colliders attached to dynamic bodies. | |
| float | collider_fixed_color [4] |
| Color of colliders attached to fixed bodies. | |
| float | collider_kinematic_color [4] |
| Color of colliders attached to kinematic bodies. | |
| float | collider_parentless_color [4] |
| Color of colliders without a parent body. | |
| float | impulse_joint_anchor_color [4] |
| Color of the lines from a body's center of mass to its impulse-joint anchors. | |
| float | impulse_joint_separation_color [4] |
| Color of the line between the two anchors of an impulse joint. | |
| float | multibody_joint_anchor_color [4] |
| Color of the lines from a body's center of mass to its multibody-joint anchors. | |
| float | multibody_joint_separation_color [4] |
| Color of the line between the two anchors of a multibody joint. | |
| float | sleep_color_multiplier [4] |
| Color multiplier for entities of sleeping bodies. | |
| float | sleep_eligible_color_multiplier [4] |
| Color multiplier for entities of awake bodies eligible for sleep. | |
| float | disabled_color_multiplier [4] |
| Color multiplier for entities of disabled bodies. | |
| R3Real | rigid_body_axes_length |
| Nonnegative length of the rendered body axes. | |
| float | contact_depth_color [4] |
| Color of the segments joining the two points of a contact. | |
| float | contact_normal_color [4] |
| Color of the contact normals. | |
| R3Real | contact_normal_length |
| Nonnegative length of the contact normals. | |
| float | soft_body_element_color [4] |
| Color of soft-body elements. | |
| float | soft_body_slack_color [4] |
| Color of unloaded soft-body elements when coloring them by load. | |
| float | soft_body_loaded_color [4] |
| Color of soft-body elements at their tear threshold when coloring them by load. | |
| float | soft_body_frame_color [4] |
| Color of the soft-body cluster frames. | |
| float | collider_aabb_color [4] |
| Color of the collider bounding boxes. | |
| float | vertex_pseudo_normal_color [4] |
| Color of the vertex pseudo-normals of triangle meshes and polylines. | |
| float | edge_pseudo_normal_color [4] |
| Color of the edge pseudo-normals of triangle meshes (3D only). | |
| R3Real | pseudo_normal_length |
| Nonnegative length of the pseudo-normals. | |
| float | volume_contact_normal_color [4] |
| Color of the normals of soft-body volume contacts. | |
| float | volume_gradient_color [4] |
| Color of the volume gradients drawn at the particles of a volume constraint. | |
Debug-render colors and sizes.
Colors are HSLA: hue in degrees, then saturation, lightness and alpha in [0, 1]; multipliers scale each component. Initialize with r3DefaultDebugRenderStyle.
| uint32_t R3DebugRenderStyle::border_subdivisions |
Positive number of subdivisions approximating the borders of round shapes.
| float R3DebugRenderStyle::collider_aabb_color[4] |
Color of the collider bounding boxes.
| float R3DebugRenderStyle::collider_dynamic_color[4] |
Color of colliders attached to dynamic bodies.
| float R3DebugRenderStyle::collider_fixed_color[4] |
Color of colliders attached to fixed bodies.
| float R3DebugRenderStyle::collider_kinematic_color[4] |
Color of colliders attached to kinematic bodies.
| float R3DebugRenderStyle::collider_parentless_color[4] |
Color of colliders without a parent body.
| float R3DebugRenderStyle::contact_depth_color[4] |
Color of the segments joining the two points of a contact.
| float R3DebugRenderStyle::contact_normal_color[4] |
Color of the contact normals.
| R3Real R3DebugRenderStyle::contact_normal_length |
Nonnegative length of the contact normals.
| float R3DebugRenderStyle::disabled_color_multiplier[4] |
Color multiplier for entities of disabled bodies.
| float R3DebugRenderStyle::edge_pseudo_normal_color[4] |
Color of the edge pseudo-normals of triangle meshes (3D only).
| float R3DebugRenderStyle::impulse_joint_anchor_color[4] |
Color of the lines from a body's center of mass to its impulse-joint anchors.
| float R3DebugRenderStyle::impulse_joint_separation_color[4] |
Color of the line between the two anchors of an impulse joint.
| float R3DebugRenderStyle::multibody_joint_anchor_color[4] |
Color of the lines from a body's center of mass to its multibody-joint anchors.
| float R3DebugRenderStyle::multibody_joint_separation_color[4] |
Color of the line between the two anchors of a multibody joint.
| R3Real R3DebugRenderStyle::pseudo_normal_length |
Nonnegative length of the pseudo-normals.
| R3Real R3DebugRenderStyle::rigid_body_axes_length |
Nonnegative length of the rendered body axes.
| float R3DebugRenderStyle::sleep_color_multiplier[4] |
Color multiplier for entities of sleeping bodies.
| float R3DebugRenderStyle::sleep_eligible_color_multiplier[4] |
Color multiplier for entities of awake bodies eligible for sleep.
| float R3DebugRenderStyle::soft_body_element_color[4] |
Color of soft-body elements.
| float R3DebugRenderStyle::soft_body_frame_color[4] |
Color of the soft-body cluster frames.
| float R3DebugRenderStyle::soft_body_loaded_color[4] |
Color of soft-body elements at their tear threshold when coloring them by load.
| float R3DebugRenderStyle::soft_body_slack_color[4] |
Color of unloaded soft-body elements when coloring them by load.
| uint32_t R3DebugRenderStyle::subdivisions |
Positive number of subdivisions approximating curved shapes.
| float R3DebugRenderStyle::vertex_pseudo_normal_color[4] |
Color of the vertex pseudo-normals of triangle meshes and polylines.
| float R3DebugRenderStyle::volume_contact_normal_color[4] |
Color of the normals of soft-body volume contacts.
| float R3DebugRenderStyle::volume_gradient_color[4] |
Color of the volume gradients drawn at the particles of a volume constraint.