NVIDIA DeepLearning Dataset Synthesizer (NDDS)
 All Classes Namespaces Functions Variables Typedefs Pages
NVSceneMarker_FocalPoint.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 "NVSceneMarker.h"
15 #include "NVSceneMarker_FocalPoint.generated.h"
16 
17 /**
18  * ANVSceneMarker_FocalPoint - The scene marker actors are placed in the map and control how the capturer move around
19  */
20 /// @cond DOXYGEN_SUPPRESSED_CODE
21 UCLASS(Blueprintable, ClassGroup = (NVIDIA), Config=Engine, HideCategories = (Replication, Tick, Tags, Input, Actor, Rendering))
22 /// @endcond DOXYGEN_SUPPRESSED_CODE
23 class DOMAINRANDOMIZATIONDNN_API ANVSceneMarker_FocalPoint : public AActor, public INVSceneMarkerInterface
24 {
25  GENERATED_BODY()
26 
27 public:
28  ANVSceneMarker_FocalPoint(const FObjectInitializer& ObjectInitializer);
29 
30 protected:
31  virtual void OnObserverAdded(AActor* NewObserver) override;
32  virtual void OnObserverRemoved(AActor* NewObserver) override;
33 
34 protected: // Editor properties
35  UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (AllowPrivateAccess = "true"))
36  class UBillboardComponent* BillboardComponent;
37 
38  // The spring arm component control where to attach the viewpoint
39  UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (AllowPrivateAccess = "true"))
40  class USpringArmComponent* SpringArm_ViewPointComponent;
41 
42  UPROPERTY(EditAnywhere)
43  FNVSceneMarkerComponent SceneMarker;
44  NV_DECLARE_SCENE_MARKER_INTERFACE(SceneMarker);
45 
46  // If true, the observer's orbital movement will be activated and it will focus on this focal point
47  // If false, the observer's position will be attached to a socket on SpringArm_ViewPointComponent with no random movement
48  UPROPERTY(EditAnywhere)
49  bool bUseOrbitalMovement;
50 };
Base interface for object that can be placed in the map as marker for other actors.
Definition: NVSceneMarker.h:31
Anchor for point of interest in map.
Definition: NVSceneMarker.h:57