NVIDIA DeepLearning Dataset Synthesizer (NDDS)
 All Classes Namespaces Functions Variables Typedefs Pages
RandomizedActorManager.h
1 /*
2 * Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
3 *
4 * NVIDIA CORPORATION and its licensors retain all intellectual property
5 * and proprietary rights in and to this software, related documentation
6 * and any modifications thereto. Any use, reproduction, disclosure or
7 * distribution of this software and related documentation without an express
8 * license agreement from NVIDIA CORPORATION is strictly prohibited.
9 */
10 
11 #pragma once
12 
13 #include "GameFramework/Actor.h"
14 #include "DomainRandomizationDNNPCH.h"
15 #include "RandomizedActorManager.generated.h"
16 
17 UCLASS(Blueprintable)
18 class DOMAINRANDOMIZATIONDNN_API ARandomizedActorManager : public AActor
19 {
20  GENERATED_BODY()
21 
22 public:
24 
25 protected:
26  virtual void BeginPlay() override;
27 
28 protected:
29  // List of actor classes to spawn and manage
30  UPROPERTY(EditAnywhere, BlueprintReadWrite)
31  TArray<TSubclassOf<AActor>> ActorClassesToSpawn;
32 
33  // Total number of actors to spawn in the level
34  UPROPERTY(EditAnywhere, BlueprintReadWrite)
35  int32 NumberOfActorsToSpawn;
36 
37  // The volume to choose the location where those managed actor can be in
38  UPROPERTY(BlueprintReadWrite, EditAnywhere)
39  AVolume* RandomLocationVolume;
40 };