| 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 | ||
---|---|---|---|
|
ClothingInteractors |
Cloth interactors currently created. |
Name | Description | ||
---|---|---|---|
|
ClothConfigUpdated() |
Called to update the cloth config without restarting the simulation. |
|
|
UClothingInt... |
CreateClothingInteractor() |
|
|
CreateClothingInteractor ( |
Create a cloth specific interactor. |
|
|
DestroyClothingInteractors() |
Destroy all interactors. |
|
|
DisableGravityOverride() |
Disable any currently set gravity override. |
|
|
EnableGravityOverride ( |
Set a new gravity override and enable the override. |
|
|
UClothingInt... |
GetClothingInteractor ( |
Return a cloth interactor for this simulation. |
|
GetNumCloths() |
Return the number of cloths run by the simulation. |
|
|
GetNumDynamicParticles() |
Return the number of dynamic (simulated) particles. |
|
|
GetNumIterations() |
Return the solver number of iterations. |
|
|
GetNumKinematicParticles() |
Return the number of kinematic (animated) particles. |
|
|
GetNumSubsteps() |
Return the solver number of subdivisions./ This could be different from the number set if the simulation hasn't updated yet. |
|
|
float |
GetSimulationTime() |
Return the instant average simulation time in ms. |
|
PhysicsAssetUpdated() |
Called to update collision status without restarting the simulation. |
|
|
SetAnimDriveSpringStiffness ( |
Set the stiffness of the spring force for the animation drive. |
|
|
SetNumIterations ( |
Set the number of solver iterations. |
|
|
SetNumSubsteps ( |
Set the number of substeps or subdivisions. |
|
|
Sync ( |
Sync the interactor to the provided context for the clothing simulation to use on its next update. |