IClothingSimulation::GetSimulationData

Fill [FClothSimulData](API\Runtime\ClothingSystemRuntimeInterface\FClothSimulData) map for the clothing simulation.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

IClothingSimulation::GetSimulationData()

FClothingSimulation::GetSimulationData()

References

Module

ClothingSystemRuntimeInterface

Header

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

Include

#include "ClothingSimulationInterface.h"

Syntax

void GetSimulationData
(
    TMap< int32, FClothSimulData > & OutData,
    USkeletalMeshComponent * InOwnerComponent,
    USkinnedMeshComponent * InOverrideComponent
) const

Remarks

Fill FClothSimulData map for the clothing simulation. Should fill a map pair per-actor

Parameters

Parameter

Description

OutData

The simulation data to write to

InOwnerComponent

the component that owns the simulation

InOverrideComponent

An override component if bound to a master pose component