![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ClothingSimulationInstance.h>
Classes | |
| struct | FFactoryAssetGroup |
Clothing simulation objects. Facade to the simulation interfaces to allow for a simplified implementation and multiple simulations to coexist with each other.
| FClothingSimulationInstance::FClothingSimulationInstance | ( | USkeletalMeshComponent * | SkeletalMeshComponent, |
| const FFactoryAssetGroup & | FactoryAssetGroup | ||
| ) |
Construct a new clothing simulation instance for the specified asset group and component.
|
default |
| FClothingSimulationInstance::~FClothingSimulationInstance | ( | ) |
|
delete |
|
default |
|
inline |
Add external dynamic collisions.
|
inline |
Append the simulation data.
| void FClothingSimulationInstance::AppendUniqueCollisions | ( | FClothCollisionData & | OutCollisions, |
| bool | bIncludeExternal | ||
| ) | const |
Append unique collision data from this simulation instance to the specified collision data.
|
inline |
Remove all dynamically added external collisions.
| void FClothingSimulationInstance::FillContextAndPrepareTick | ( | const USkeletalMeshComponent * | OwnerComponent, |
| float | DeltaTime, | ||
| bool | bIsInitialization | ||
| ) |
Fill the simulation context and do any other related game-thread initialization.
|
inline |
Return this simulation bounds.
|
inline |
Return the clothing simulation pointer.
|
inline |
Return the clothing simulation pointer.
|
inline |
Return the clothing simulation context.
|
inline |
Return the clothing simulation context.
|
inline |
Return the clothing simulation factory used to initialize this clothing simulation instance.
|
inline |
Return a non const version of the clothing interactor (non const methods are used to update simulation parameters).
|
inline |
Return the collision data from this simulation instance.
|
inline |
Hard reset the cloth simulation
|
delete |
|
default |
| void FClothingSimulationInstance::RemoveAllClothingActors | ( | ) |
Remove all actors.
|
inline |
Advance the simulation. This method may be called asynchronously.
| void FClothingSimulationInstance::SyncClothingInteractor | ( | ) |
Synchronize the simulation with the changes requested by the interactor.