| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/ClothingSystemRuntimeInterface/Public/ClothingSimulationInteractor.h |
Include |
#include "ClothingSimulationInteractor.h" |
class UClothingSimulationInteractor : public UObject
If a clothing simulation is able to be interacted with at runtime then a derived interactor should be created, and at least the basic API implemented for that simulation. Only write to the simulation and context during the call to Sync, as that is guaranteed to be a safe place to access this data.
Name | Description | ||
---|---|---|---|
|
bDirty |
Flag to control sync calls. |
Name | Description | ||
---|---|---|---|
|
ClothConfigUpdated() |
Called to update the cloth config without restarting the simulation. |
|
|
DisableGravityOverride() |
Disable any currently set gravity override. |
|
|
EnableGravityOverride ( |
Set a new gravity override and enable the override. |
|
|
IsDirty() |
||
|
MarkDirty() |
Intended to be called by functions on the interactor to message to the owning skeletal mesh component that this interactor requires a sync. |
|
|
PhysicsAssetUpdated() |
Called to update collision status without restarting the simulation. |
|
|
SetAnimDriveSpringStiffness ( |
Set the stiffness of the spring force for the animation drive. |
|
|
Sync ( |
Sync the interactor to the provided context for the clothing simulation to use on its next update. |