LEAP Documentation 40220
Documentation for the LEAP project
EditorUtilities.h
Go to the documentation of this file.
1// Copyright Blue Isle Studios Inc 2018. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Runtime/Engine/Classes/Engine/EngineTypes.h"
7#include "UObject/NoExportTypes.h"
8#include "EditorUtilities.generated.h"
9
10UCLASS()
11class PROJECTX_API UEditorUtilities : public UObject
12{
13 GENERATED_BODY()
14
15 UFUNCTION(BlueprintCallable, Category = "Editor Utilities")
16 static void SpawnObjects(UClass* ActorToSpawn, const AActor* BoundsVolume, const int32 Count, const bool bGroundSpawnedActors, const bool bConformToSlopes, const bool bRandomRotation, const FVector Offset, const bool bAvoidOverlappingActors, const bool bAllowStaticMesh, const bool bAllowLandscapes, const bool bLimitToSurfaceTypes, const TArray<TEnumAsByte<EPhysicalSurface>>& SurfaceTypes);
17
18 UFUNCTION(BlueprintCallable, Category = "Editor Utilities", meta=(WorldContext = "WorldContextObject"))
19 static void ReplaceObjects(UObject* WorldContextObject, const FString PartialMatch, TSubclassOf<AActor> Replacement);
20};
Definition: EditorUtilities.h:12