Section 3.9. rdActor – Conversions

// [rdInst v1.10] Converts the Instance to a ChildActorComponent
UChildActorComponent* rdConvertInstanceToChildActor(UStaticMesh* mesh,int32 index);

// [rdInst v1.10] Converts the Instance to a new StaticMesh Actor in the level, setting its mesh to the instance mesh (spawn)
AActor* rdConvertInstanceToLevelActor(UStaticMesh* mesh,int32 index);

// [rdInst v1.10] Converts the Instance to a new Actor - actorClass, in the level (spawn)
AActor* rdConvertInstanceToActor(UStaticMesh* mesh,UClass* actorClass,int32 index);

// [rdInst v1.10] Converts the Instance to a new Actor in the level from the ActorPool
AActor* rdConvertInstanceToActorFromPool(UStaticMesh* mesh,UClass* actorClass,int32 index);

// [rdInst v1.10] Helper Function that Converts all the Instances into Actors in the level
void rdConvertInstancesToActors(bool stripFolders,bool useRandom,bool group,const FTransform& destTransform,const FVector& centerLocation,const FString& baseFolder,TArray<AActor*>& addedActors);

// [rdInst v1.20] Helper Function that Returns Arrays of all Instances in this actor
void rdHarvestInstances(bool incRandom,TArray<UStaticMesh*>& meshList,TArray<FTransform>& transformList,TArray<FString>& nameList,TArray<FString>& folderList);

// [rdInst v1.35] Converts all ISMs and HISMs to StaticMeshComponents
void rdConvertISMsToSMs();

// [rdInst v1.35] Converts all StaticMeshComponents to instances
void rdConvertSMsToISMs();