DRG-Femboy-Voice/Source/FSD/Private/SpawnActorWithDebrisPosComponent.cpp
2025-04-15 12:39:31 -07:00

21 lines
1.2 KiB
C++
Executable file

#include "SpawnActorWithDebrisPosComponent.h"
#include "Templates/SubclassOf.h"
bool USpawnActorWithDebrisPosComponent::PlaceActorsWithCallback(int32 NumToSpawn, int32 NumToSpawnMin, int32 NumAllowedChecks, TSubclassOf<AActor> SpawnedActorClass, AProceduralSetup* Setup, float Radius, UDebrisPositioning* DebrisPositioning, const TArray<FVector>& locationsToAvoid, UCurveFloat* AvoidCostCurve, FSpawnActorDelegate OnSpawned, FVector CustomLocation) {
return false;
}
bool USpawnActorWithDebrisPosComponent::PlaceActors(int32 NumToSpawn, int32 NumToSpawnMin, int32 NumAllowedChecks, TSubclassOf<AActor> SpawnedActorClass, AProceduralSetup* Setup, float Radius, UDebrisPositioning* DebrisPositioning, const TArray<FVector>& locationsToAvoid, UCurveFloat* AvoidCostCurve, TArray<AActor*>& OutSpawnedActors, FVector CustomLocation) {
return false;
}
void USpawnActorWithDebrisPosComponent::AddTerrainPlacement(AActor* Actor, AProceduralSetup* Setup) {
}
USpawnActorWithDebrisPosComponent::USpawnActorWithDebrisPosComponent() {
this->MinDistanceBetweenSpwans = 100.00f;
this->AddTerrainPlacementBlockers = true;
this->AvoidImportantLocations = false;
this->MinDistanceToImportantLocations = 100.00f;
}