Section 4.4. rdSpawnStuffActor – Utilities

// [rdInst v1.35] Add Instances you've spawned in Custom Spawners to this list
void rdAddSpawnedInstance(const FrdObjectPlacementData& placementData,int32 instance);

// [rdInst v1.35] Add Actors and Prefabs you've spawned in Custom Spawners to this list
void rdAddSpawnedActor(const FrdObjectPlacementData& placementData,AActor* actor);

// [rdInst v1.35] Add VFX you've spawned in Custom Spawners to this list
void rdAddSpawnedVFX(const FrdObjectPlacementData& placementData,UNiagaraComponent* vfx);

// [rdInst v1.35] Spawn the Object from the PlacementData at the transform
void rdSpawnObject(const FrdObjectPlacementData& placementData,const FTransform& transform);

// [rdInst v1.35] Add Objects to the Baked Data in Custom Spawners with this function
void rdAddBakedObject(const FrdObjectPlacementData& placementData,const FTransform& transform);

// Add Mesh Instances to the Baked Data in Custom Spawners with this function
void rdAddBakedInstance(const FrdObjectPlacementData& placementData,UStaticMesh* mesh,const FTransform& transform);

// [rdInst v1.35] Add Actors to the Baked Data in Custom Spawners with this function
void rdAddBakedActor(const FrdObjectPlacementData& placementData,UClass* actorClass,const FTransform& transform);

// [rdInst v1.35] Add VFX to the Baked Data in Custom Spawners with this function
void rdAddBakedVFX(const FrdObjectPlacementData& placementData,UNiagaraSystem* vfx,const FTransform& transform);


// [rdInst v1.35] Does a SphereTrace, returning found actors and instances, if there is Baked data, it scans those transforms
void rdSphereTrace(const FVector location,float radius,TArray<AActor*>& actors,TArray<FrdInstanceItems>& instances,TArray<AActor*>& ignoreActors);

// [rdInst v1.35] Returns the Distance of the current spawnData (float in 4.27)
double rdGetSpawnDistance();

// [rdInst v1.35] Returns the Bounds of the Spawner Volume
const FBoxSphereBounds rdGetSpawnerBounds() const;

// [rdInst v1.35] Returns the BoundingBox of the Spawner Volume
const FBox rdGetSpawnerBoundingBox() const;

// [rdInst v1.35] Returns the Center of the Spawner Volume in World Space
const FVector rdGetSpawnerCenter() const;

// [rdInst v1.35] Returns the Size of the Spawner Volume in Unreal Units
const FVector rdGetSpawnerSize() const;

// [rdInst v1.35] Set the Spawner to the same size as the landscape
void rdSnapToLandscape();