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

Mesh identity and rendering metadata. More...

#include <rapier.h>

Data Fields

struct R2SoftMeshId id
 Cluster/mesh pair identifying this collision mesh.
struct R2ColliderHandle collider
 World-bound collider handle.
size_t arity
 Indices per mesh element: 2 for an edge or 3 for a triangle.
R2Bool is_skinned
 Whether vertex positions are obtained by skinning.
R2Bool 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 R2SoftMeshInfo::arity

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

◆ collider

struct R2ColliderHandle R2SoftMeshInfo::collider

World-bound collider handle.

◆ collision_enabled

R2Bool R2SoftMeshInfo::collision_enabled

Whether collision detection is enabled for this mesh.

◆ id

struct R2SoftMeshId R2SoftMeshInfo::id

Cluster/mesh pair identifying this collision mesh.

◆ is_skinned

R2Bool R2SoftMeshInfo::is_skinned

Whether vertex positions are obtained by skinning.


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