GameMode with specific setting, asset loading and #SceneDirector. Parent class, ARRROS2GameMode,.
More...
#include <RRGameMode.h>
GameMode with specific setting, asset loading and #SceneDirector. Parent class, ARRROS2GameMode,.
You needs to use #RRGameSingleton for asset loading.
You needs to use #RRPlayerController and #RRGameState for SceneDirector.
- See also
- GameMode and GameState
UCLASS(Config = RapyutaSimSettings)
◆ ARRGameMode()
ARRGameMode::ARRGameMode |
( |
| ) |
|
◆ ConfigureSimInPlay()
virtual void ARRGameMode::ConfigureSimInPlay |
( |
| ) |
|
|
virtual |
Config Sim global configs in prep for play.
◆ EndPlay()
void ARRGameMode::EndPlay |
( |
const EEndPlayReason::Type |
EndPlayReason | ) |
|
|
override |
◆ GetSimTypeName()
FString ARRGameMode::GetSimTypeName |
( |
| ) |
const |
|
inline |
◆ InitGameState()
virtual void ARRGameMode::InitGameState |
( |
| ) |
|
|
overridevirtual |
◆ IsDataSynthSimType()
bool ARRGameMode::IsDataSynthSimType |
( |
| ) |
const |
|
inline |
◆ IsSimType()
bool ARRGameMode::IsSimType |
( |
const ERRSimType |
InSimType | ) |
const |
|
inline |
◆ PreInitializeComponents()
virtual void ARRGameMode::PreInitializeComponents |
( |
| ) |
|
|
overridevirtual |
◆ PrintSimConfig()
virtual void ARRGameMode::PrintSimConfig |
( |
| ) |
const |
|
overridevirtual |
◆ PrintUEPreprocessors()
static void ARRGameMode::PrintUEPreprocessors |
( |
| ) |
|
|
static |
Print UE global preprocessors' values.
◆ SetSimType()
void ARRGameMode::SetSimType |
( |
const ERRSimType |
InSimType | ) |
|
|
inline |
◆ StartPlay()
virtual void ARRGameMode::StartPlay |
( |
| ) |
|
|
overridevirtual |
◆ StartSim()
virtual void ARRGameMode::StartSim |
( |
| ) |
|
|
virtual |
- LOAD [ImageWrapperModule]. This must be loaded this early for possible external image-based texture loading at Sim
initialization!
- LOAD SIM STATIC GLOBAL RESOURCES
START SIM ONCE RESOURCES ARE LOADED
The reason for this scheduled delegate is some essential operation, which facilitates sim startup activities like
asynchronous resource loading, could only run after this [ARRGameState::BeginPlay()] ends!
◆ TryStartingSim()
bool ARRGameMode::TryStartingSim |
( |
| ) |
|
|
private |
This method was scheduled to be run by BeginPlay()
- WAIT FOR RESOURCE LOADING, in prep for Sim mode initialization
- START PARENT'S PLAY, WHICH TRIGGER OTHERS PLAY FROM GAME STATE, PLAYER CONTROLLER, ETC.
UFUNCTION()
◆ bBenchmark
bool ARRGameMode::bBenchmark = true |
◆ BeginTimeStampSec
float ARRGameMode::BeginTimeStampSec = 0.f |
|
private |
◆ OwnTimerHandle
FTimerHandle ARRGameMode::OwnTimerHandle |
|
private |
◆ SIM_START_TIMEOUT_MINS
constexpr int32 ARRGameMode::SIM_START_TIMEOUT_MINS = 2 |
|
staticconstexpr |
◆ SIM_START_TIMEOUT_SECS
◆ SimType
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/rapyutasimulationplugins/checkouts/devel/Source/RapyutaSimulationPlugins/Public/Core/RRGameMode.h