Meta_ConvexDecomposition
Module: Metanodes / Definitions
A ConvexDecomposition is used to store pre-computed convex decomposition data as part of the scene. More...
#include <meta_division.hpp>
Public Types
| Type | Name | 
|---|---|
| enum | IDX { Idx_Data } | 
Public Functions
| Type | Name | 
|---|---|
| Meta_ConvexDecomposition() | 
Detailed Description
struct Meta_ConvexDecomposition;
A ConvexDecomposition is used to store pre-computed convex decomposition data as part of the scene.
When a Meta_Collision is set to Geometry mode, the specified model is used to generate a convex decomposition, to be used by the collision system. This can be a slow process so this data is cached to avoid unnecessary re-processing every time the scene is loaded.
The contents of this data are not intended to be modified by external APIs.
Public Types Documentation
enum IDX
| Enumerator | Value | Description | 
|---|---|---|
| Idx_Data | 
Public Functions Documentation
Meta_ConvexDecomposition
inline Meta_ConvexDecomposition()