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

Mesh identity and rendering metadata. More...

#include <rapier.h>

Data Fields

struct R3SoftMeshId id
 Cluster/mesh pair identifying this collision mesh.
struct R3ColliderHandle collider
 World-bound collider handle.
size_t arity
 Indices per mesh element: 2 for an edge or 3 for a triangle.
R3Bool is_skinned
 Whether vertex positions are obtained by skinning.
R3Bool collision_enabled
 Whether collision detection is enabled for this mesh.

Detailed Description

Mesh identity and rendering metadata.

A render-only mesh has an invalid collider handle.

Field Documentation

◆ arity

size_t R3SoftMeshInfo::arity

Indices per mesh element: 2 for an edge or 3 for a triangle.

◆ collider

struct R3ColliderHandle R3SoftMeshInfo::collider

World-bound collider handle.

◆ collision_enabled

R3Bool R3SoftMeshInfo::collision_enabled

Whether collision detection is enabled for this mesh.

◆ id

struct R3SoftMeshId R3SoftMeshInfo::id

Cluster/mesh pair identifying this collision mesh.

◆ is_skinned

R3Bool R3SoftMeshInfo::is_skinned

Whether vertex positions are obtained by skinning.


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