Scene instance's common object which houses Plugin-specific dynamic properties and implement objects-related API (Spawning, teleporting, etc.)
More...
#include <RRActorCommon.h>
Scene instance's common object which houses Plugin-specific dynamic properties and implement objects-related API (Spawning, teleporting, etc.)
If USE_SCENE_DIRECTOR is disabled, there is only one single ActorCommon being shared among all RRBaseActor.
- Note
- Mostly responsible for holding handles to URRSceneInstance (Main environment, camera, etc.)
UCLASS(Config = RapyutaSimSettings)
◆ URRActorCommon()
URRActorCommon::URRActorCommon |
( |
| ) |
|
◆ GenerateUniqueDepthStencilValue()
int32 URRActorCommon::GenerateUniqueDepthStencilValue |
( |
| ) |
|
|
inline |
Generate a new unique custom depth stencil value for a mesh actor's Segmentation mask.
◆ GetActorCommon()
◆ GetNextSceneId()
static FORCEINLINE uint64 URRActorCommon::GetNextSceneId |
( |
| ) |
|
|
inlinestatic |
◆ HasInitialized()
virtual bool URRActorCommon::HasInitialized |
( |
bool |
bIsLogged = false | ) |
const |
|
virtual |
Whether this scene instance's common object has been initialized.
- Parameters
-
bIsLogged | Whether to log on uninitialized contents |
◆ OnBeginPlay()
virtual void URRActorCommon::OnBeginPlay |
( |
| ) |
|
|
inlinevirtual |
◆ OnEndPlay()
virtual void URRActorCommon::OnEndPlay |
( |
const EEndPlayReason::Type |
EndPlayReason | ) |
|
|
inlinevirtual |
◆ OnPostWorldCleanup()
static void URRActorCommon::OnPostWorldCleanup |
( |
UWorld * |
InWorld, |
|
|
bool |
, |
|
|
bool |
|
|
) |
| |
|
static |
Callback for world cleanup end.
- See also
- Ref
- Parameters
-
InWorld | |
bInSessionEnded | Whether to notify the viewport that the game session (PIE, Game, etc.) has ended. |
bInCleanupResources | Whether resources should be cleaned up |
◆ OnStartSim()
virtual void URRActorCommon::OnStartSim |
( |
| ) |
|
|
virtual |
◆ PrintSimConfig()
virtual void URRActorCommon::PrintSimConfig |
( |
| ) |
const |
|
virtual |
Print sim config vars in INI.
◆ SetupEnvironment()
virtual void URRActorCommon::SetupEnvironment |
( |
| ) |
|
|
virtual |
Setup the scene instance's environment.
◆ URRCoreUtils
!! [ActorCommon] OBJECT COULD ONLY BE ACCESSED FROM BEGINPLAY(),
THUS SPECIFC SIM START-UP RELATED CONTENTS & HANDLINGS, WHICH HAPPENS BEFORE BEGINPLAY(), SHOULD BE MOVED TO GameMode or GameInstance.
◆ CurrentSceneId
uint64 URRActorCommon::CurrentSceneId = 0 |
◆ DEFAULT_CUSTOM_DEPTH_STENCIL_VALUE_VOID
constexpr int8 URRActorCommon::DEFAULT_CUSTOM_DEPTH_STENCIL_VALUE_VOID = 0 |
|
staticconstexpr |
◆ DEFAULT_SCENE_INSTANCE_ID
constexpr int8 URRActorCommon::DEFAULT_SCENE_INSTANCE_ID = 0 |
|
staticconstexpr |
◆ DELIMITER_STR
constexpr const TCHAR* URRActorCommon::DELIMITER_STR = TEXT(",") |
|
staticconstexpr |
◆ DOUBLE_QUOTE_CHAR
constexpr const char* URRActorCommon::DOUBLE_QUOTE_CHAR = "\"" |
|
staticconstexpr |
◆ IMAGE_BIT_DEPTH_FLOAT16
constexpr int8 URRActorCommon::IMAGE_BIT_DEPTH_FLOAT16 = 16 |
|
staticconstexpr |
◆ IMAGE_BIT_DEPTH_FLOAT32
constexpr int8 URRActorCommon::IMAGE_BIT_DEPTH_FLOAT32 = 32 |
|
staticconstexpr |
◆ IMAGE_BIT_DEPTH_INT8
constexpr int8 URRActorCommon::IMAGE_BIT_DEPTH_INT8 = 8 |
|
staticconstexpr |
◆ LatestCustomDepthStencilValue
int32 URRActorCommon::LatestCustomDepthStencilValue = 0 |
◆ MainLights
TArray<ALight*> URRActorCommon::MainLights |
◆ MAP_ORIGIN_TAG
constexpr const TCHAR* URRActorCommon::MAP_ORIGIN_TAG = TEXT("map_origin") |
|
staticconstexpr |
◆ MAP_ROS_FRAME_ID
constexpr const TCHAR* URRActorCommon::MAP_ROS_FRAME_ID = TEXT("map") |
|
staticconstexpr |
◆ MAX_CUSTOM_DEPTH_STENCIL_VALUES_NUM
constexpr int16 URRActorCommon::MAX_CUSTOM_DEPTH_STENCIL_VALUES_NUM = 76 |
|
staticconstexpr |
◆ NAN_STR
constexpr const char* URRActorCommon::NAN_STR = "NaN" |
|
staticconstexpr |
◆ NONE_STR
constexpr const char* URRActorCommon::NONE_STR = "None" |
|
staticconstexpr |
◆ NULL_STR
constexpr const char* URRActorCommon::NULL_STR = "Null" |
|
staticconstexpr |
◆ OnceFlag
std::once_flag URRActorCommon::OnceFlag |
|
static |
◆ OnMeshActorFullyCreated
FOnMeshActorFullyCreated URRActorCommon::OnMeshActorFullyCreated |
Move the common main environment to another scene instance.
Callback on a mesh actor being fully created in the scene
◆ QUOTED_NAN_STR
const std::string URRActorCommon::QUOTED_NAN_STR |
|
static |
◆ QUOTED_NULL_STR
const std::string URRActorCommon::QUOTED_NULL_STR |
|
static |
◆ SActorCommonList
◆ SceneCamera
ARRCamera* URRActorCommon::SceneCamera = nullptr |
Main camera actor used in the scene instance.
UPROPERTY()
◆ SceneFloor
AActor* URRActorCommon::SceneFloor = nullptr |
Main environment actor if pre-setup in the level.
UPROPERTY()
◆ SceneInstanceId
Each scene instance house a series of scene, in which operations are performed.
UPROPERTY()
◆ SceneInstanceLocation
FVector URRActorCommon::SceneInstanceLocation = FVector::ZeroVector |
Location of the current scene instance this ActorCommon belongs to.
UPROPERTY()
◆ SceneWall
AActor* URRActorCommon::SceneWall = nullptr |
Main floor actor if pre-setup in the level.
Main wall actor if pre-setup in the level
UPROPERTY()
◆ SCRIPT_INI_PATH
constexpr const TCHAR* URRActorCommon::SCRIPT_INI_PATH = TEXT("/Script/RapyutaSimulationPlugins.RRActorCommon") |
|
staticconstexpr |
◆ SIM_SCENE_COMPLETION_TIMEOUT_SECS
constexpr int32 URRActorCommon::SIM_SCENE_COMPLETION_TIMEOUT_SECS = 10 |
|
staticconstexpr |
◆ SLatestSceneId
uint64 URRActorCommon::SLatestSceneId |
|
static |
Generate a new scene id.
Each scene is assigned with a unique id, regardless of which scene instance it belongs
◆ SPACE_STR
constexpr const TCHAR* URRActorCommon::SPACE_STR = TEXT(" ") |
|
staticconstexpr |
◆ StaticCustomDepthStencilList
TArray<int32> URRActorCommon::StaticCustomDepthStencilList |
|
static |
This list contains Static Objects' [CustomDepthStencilValue]s that are assigned once and never change during Sim run!
Example: Bucket's (DropPlatform is also a static object but its custom depth render is disabled due to not being segmasked)
◆ UNDERSCORE_STR
constexpr const TCHAR* URRActorCommon::UNDERSCORE_STR = TEXT("_") |
|
staticconstexpr |
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/RRActorCommon.h