Navigation
API > API/Plugins > API/Plugins/RemoteControlComponents
| Name | URemoteControlComponentsSubsystem |
| Type | class |
| Header File | /Engine/Plugins/Experimental/RemoteControlComponents/Source/RemoteControlComponents/Public/Subsystems/RemoteControlComponentsSubsystem.h |
| Include Path | #include "Subsystems/RemoteControlComponentsSubsystem.h" |
Syntax
UCLASS (MinimalAPI)
class URemoteControlComponentsSubsystem : public UEngineSubsystem
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → USubsystem → UDynamicSubsystem → UEngineSubsystem → URemoteControlComponentsSubsystem
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnActivePresetChanged | TMulticastDelegate_OneParam< void, URemoteControlPreset * > | Subsystems/RemoteControlComponentsSubsystem.h | |
| FOnActorRegisterStateUpdate | TMulticastDelegate_OneParam< void, AActor * > | Subsystems/RemoteControlComponentsSubsystem.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorsPendingRegister | TArray< TWeakObjectPtr< AActor > > | Utility container used to store actors for later tracking in case registering doesn't work right away | Subsystems/RemoteControlComponentsSubsystem.h | |
| OnActivePresetChangedDelegate | FOnActivePresetChanged | Subsystems/RemoteControlComponentsSubsystem.h | ||
| OnTrackedActorRegisteredDelegate | FOnActorRegisterStateUpdate | Subsystems/RemoteControlComponentsSubsystem.h | ||
| OnTrackedActorUnregisteredDelegate | FOnActorRegisterStateUpdate | Subsystems/RemoteControlComponentsSubsystem.h | ||
| TrackedActorsContextMap | TMap< FObjectKey, TSharedPtr< FRemoteControlComponentsContext > > | Subsystems/RemoteControlComponentsSubsystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
URemoteControlPreset * GetRegisteredPreset
(
const UWorld* InWorld |
Returns the Preset currently associated with the specified World | Subsystems/RemoteControlComponentsSubsystem.h | |
URemoteControlPreset * GetRegisteredPreset
(
const UObject* InObject |
Returns the Preset currently associated with the specified Object | Subsystems/RemoteControlComponentsSubsystem.h | |
bool IsActorTracked
(
const AActor* InActor |
Checks if the specified Actor is currently being tracked by the subsystem | Subsystems/RemoteControlComponentsSubsystem.h | |
bool IsPresetRegistered
(
const URemoteControlPreset* InPreset |
Checks if the specified Preset is currently registered | Subsystems/RemoteControlComponentsSubsystem.h | |
FOnActivePresetChanged & OnActivePresetChanged() |
Fires when the active Preset is updated | Subsystems/RemoteControlComponentsSubsystem.h | |
FOnActorRegisterStateUpdate & OnTrackedActorRegistered() |
Fires whenever an actor is registered for Tracking | Subsystems/RemoteControlComponentsSubsystem.h | |
FOnActorRegisterStateUpdate & OnTrackedActorUnregistered() |
Fires whenever an actor is unregistered from Tracking | Subsystems/RemoteControlComponentsSubsystem.h | |
void RegisterPreset
(
URemoteControlPreset* InRemoteControlPreset |
Register the specified Preset, along with the World it resides in. | Subsystems/RemoteControlComponentsSubsystem.h | |
void RegisterTrackedActor
(
AActor* InActor |
Marks the specified Actor as a Tracked Actor, so that the Subsystem knows about it | Subsystems/RemoteControlComponentsSubsystem.h | |
void UnregisterPreset
(
URemoteControlPreset* InRemoteControlPreset |
Unregister the specified Preset | Subsystems/RemoteControlComponentsSubsystem.h | |
void UnregisterTrackedActor
(
AActor* InActor |
Removes the specified Actor from the tracked actors register | Subsystems/RemoteControlComponentsSubsystem.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static URemoteControlComponentsSubsystem * Get() |
Get this subsystem instance | Subsystems/RemoteControlComponentsSubsystem.h |