UChaosClothingSimulationInteractor::Sync

Sync the interactor to the provided context for the clothing simulation to use on its next update.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UClothingSimulationInteractor::Sync()

UChaosClothingSimulationInteractor::Sync()

References

Module

ChaosCloth

Header

/Engine/Plugins/Experimental/ChaosCloth/Source/Chaos/Public/ChaosCloth/ChaosClothingSimulationInteractor.h

Include

#include "ChaosCloth/ChaosClothingSimulationInteractor.h"

Source

/Engine/Plugins/Experimental/ChaosCloth/Source/Chaos/Private/ChaosCloth/ChaosClothingSimulationInteractor.cpp

Syntax

virtual void Sync
(
    IClothingSimulation * Simulation,
    IClothingSimulationContext * Context
)

Remarks

Sync the interactor to the provided context for the clothing simulation to use on its next update. This will be called at a time that is guaranteed to never overlap with the running simulation. The simulation will have to be written in a way to pick up these changes on the next update. Any inherited class must call this function to also Sync the ClothingInteractors.