Navigation
API > API/Plugins > API/Plugins/ChaosFleshEditor > API/Plugins/ChaosFleshEditor/ChaosFlesh > API/Plugins/ChaosFleshEditor/ChaosFlesh/Cmd > API/Plugins/ChaosFleshEditor/ChaosFlesh/Cmd/FChaosFleshCommands
References
| Module | ChaosFleshEditor |
| Header | /Engine/Plugins/Experimental/ChaosFlesh/Source/ChaosFleshEditor/Public/ChaosFlesh/Cmd/ChaosFleshCommands.h |
| Include | #include "ChaosFlesh/Cmd/ChaosFleshCommands.h" |
| Source | /Engine/Plugins/Experimental/ChaosFlesh/Source/ChaosFleshEditor/Private/ChaosFlesh/Cmd/ChaosFleshCommands.cpp |
static void CreateGeometryCache
(
const TArray < FString > & Args,
UWorld * World
)
Remarks
Create GeometryCache asset from a cached flesh simulation.
Command invoked from "FChaosDeformableCommands.CreateGeometryCache", uses the selected Actor's FleshComponent and SkeletalMeshComponent, optionally along with a Chaos Cache Manager. Deforms the SkeletalMesh's import geometry by the cached simulation results, and stores that surface in a new GeometryCache asset. The rest collection asset on the flesh component(s) needs to contain deformer bindings for the import geometry.
Parameters
| Name | Description |
|---|---|
| Args | Supported arguments: 'UsdFile ' overrides which usd file to use, rather than inferring it from a chaos cache manager. 'FrameRate 24' overrides the default 24 FPS frame rate for the output cache samples. 'MaxNumFrames |