IClothingSimulation::CreateActor

Create an actor for this simulation from the data in InAsset Simulation data for this actor should be written back to SimDataIndex in GetSimulationData

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

IClothingSimulation::CreateActor()

FClothingSimulation::CreateActor()

References

Module

ClothingSystemRuntimeInterface

Header

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

Include

#include "ClothingSimulationInterface.h"

Syntax

void CreateActor
(
    USkeletalMeshComponent * InOwnerComponent,
    UClothingAssetBase * InAsset,
    int32 SimDataIndex
)

Remarks

Create an actor for this simulation from the data in InAsset Simulation data for this actor should be written back to SimDataIndex in GetSimulationData

Parameters

Parameter

Description

InOwnerComponent

The component requesting this actor

InAsset

The asset to create an actor from

SimDataIndex

the sim data index to use when doing the writeback in GetSimulationData