UClothingSimulationInteractor::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

References

Module

ClothingSystemRuntimeInterface

Header

/Engine/Source/Runtime/ClothingSystemRuntimeInterface/Public/ClothingSimulationInteractor.h

Include

#include "ClothingSimulationInteractor.h"

Source

/Engine/Source/Runtime/ClothingSystemRuntimeInterface/Private/ClothingSimulationInteractor.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.