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

Windows
MacOS
Linux

Override Hierarchy

IClothingSimulation::CreateActor()

ClothingSimulation::CreateActor()

References

Module

ChaosCloth

Header

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

Include

#include "ChaosCloth/ChaosClothingSimulation.h"

Source

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

Syntax

virtual 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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss