RapyutaSimulationPlugins
RRPlayerController.h
Go to the documentation of this file.
1 
15 #pragma once
16 
17 // UE
18 
19 #include "GameFramework/PlayerController.h"
20 
21 
22 
23 // RapyutaSimulationPlugins
24 
25 #include "Core/RRActorCommon.h"
26 
27 
28 
29 #include "RRPlayerController.generated.h"
30 
31 
32 
33 class ARRGameMode;
34 
35 class ARRGameState;
36 
37 class URRGameInstance;
38 
39 class ARRActorCommon;
40 
41 class ARRCamera;
42 
43 
44 
58 class RAPYUTASIMULATIONPLUGINS_API ARRPlayerController : public APlayerController
59 
60 {
61 
62 public:
63 
65 
66 
67 
68 
73  ARRGameMode* GameMode = nullptr;
74 
75 
76 
77 
82  ARRGameState* GameState = nullptr;
83 
84 
85 
86 
91  URRGameInstance* GameInstance = nullptr;
92 
93 
94 
95 
101 
102 
103 
104 
109  URRActorCommon* ActorCommon = nullptr;
110 
111 
112 
113 
118  ARRCamera* SceneCamera = nullptr;
119 
120 
121 
122 
127  FPostProcessSettings PostProcessSettings;
128 
129 
134  APostProcessVolume* MainPostProcessVolume = nullptr;
135 
136 
137 
138  virtual bool HasInitialized(bool bIsLogged = false) const;
139 
140 
141 
142 protected:
143 
144  virtual bool Initialize();
145 
146 
147 
156  virtual void BeginPlay() override;
157 
158 };
159 
URRActorCommon
Scene instance's common object which houses Plugin-specific dynamic properties and implement objects-...
Definition: RRActorCommon.h:1127
ARRGameMode
GameMode with specific setting, asset loading and #SceneDirector. Parent class, ARRROS2GameMode,...
Definition: RRGameMode.h:79
ARRPlayerController::PostProcessSettings
FPostProcessSettings PostProcessSettings
Definition: RRPlayerController.h:127
URRActorCommon::DEFAULT_SCENE_INSTANCE_ID
static constexpr int8 DEFAULT_SCENE_INSTANCE_ID
Definition: RRActorCommon.h:1149
URRGameInstance
This is a globally accessible instanced UObject that can store run-time data to be commonly accessed ...
Definition: RRGameInstance.h:54
ARRGameState
Game state which handles multiple URRSceneInstance which spit game in scenes for data gen,...
Definition: RRGameState.h:64
ARRPlayerController
Player controller designed to be used with SceneDirector.
Definition: RRPlayerController.h:58
RRActorCommon.h
Asset utils.
ARRCamera
Standalone camera actor which can be placed in the level with #UCameraComponent.
Definition: RRCamera.h:118