Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PhysicsEngine > API/Runtime/Engine/PhysicsEngine/FKConvexElem
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ConvexElem.h |
| Include | #include "PhysicsEngine/ConvexElem.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/BodySetup.cpp |
void SetChaosConvexMesh
&40;
TSharedPtr< Chaos::FConvex, ESPMode::ThreadSafe > && InChaosConvex,
EConvexDataUpdateMethod ConvexDataUpdateMethod
&41;
Remarks
Set the chaos convex mesh Note : This will by default invalidate the convex data and recompute them by calling ComputeChaosConvexIndices Only set ConvexDataUpdateMethod to UpdateConvexDataOnlyIfMissing if you know the data is up to date with the chaos convex object or if you plan to call ComputeChaosConvexIndices later
Parameters
| Name | Description |
|---|---|
| InChaosConvex | Chaos convex mesh to set |
| ConvexDataUpdateMethod | method to use to update internal convex data |