Rapier C — 3D / f32 0.36.0+c.0
Loading...
Searching...
No Matches
R3MjcfVisualMeshInfo Struct Reference

Copied metadata for a borrowed MJCF visual mesh. More...

#include <rapier.h>

Data Fields

struct R3Pose local_pose
 Visual pose relative to its source body.
float rgba [4]
 RGBA visual color.
struct R3RenderMaterial material
 Copied render material; meaningful when has_material is 1.
R3Bool has_color
 Whether rgba contains an authored color.
R3Bool has_material
 Whether material contains authored material data.
R3Bool is_trimesh
 Whether the visual geometry is a triangle mesh.

Detailed Description

Copied metadata for a borrowed MJCF visual mesh.

Field Documentation

◆ has_color

R3Bool R3MjcfVisualMeshInfo::has_color

Whether rgba contains an authored color.

◆ has_material

R3Bool R3MjcfVisualMeshInfo::has_material

Whether material contains authored material data.

◆ is_trimesh

R3Bool R3MjcfVisualMeshInfo::is_trimesh

Whether the visual geometry is a triangle mesh.

◆ local_pose

struct R3Pose R3MjcfVisualMeshInfo::local_pose

Visual pose relative to its source body.

◆ material

struct R3RenderMaterial R3MjcfVisualMeshInfo::material

Copied render material; meaningful when has_material is 1.

◆ rgba

float R3MjcfVisualMeshInfo::rgba[4]

RGBA visual color.


The documentation for this struct was generated from the following file: