Navigation
API > API/Plugins > API/Plugins/RemoteControl
Inheritance Hierarchy
- IModuleInterface
- IRemoteControlModule
References
| Module | RemoteControl |
| Header | /Engine/Plugins/VirtualProduction/RemoteControl/Source/RemoteControl/Public/IRemoteControlModule.h |
| Include | #include "IRemoteControlModule.h" |
Syntax
class IRemoteControlModule : public IModuleInterface
Remarks
Interface for the remote control module.
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AppendToObjectArrayProperty
(
const FRCObjectReference& ObjectAccess, |
Deserialize the Object Reference from the specified backend and append it to an array property. | |
| FGuid | BeginManualEditorTransaction
(
const FText& InDescription, |
Start a manual editor transaction originating from a remote request. | |
| void | BroadcastError
(
const FString& Message, |
Broadcast an error to the OnError delegate | |
| bool | CanBeAccessedRemotely
(
UObject* InObject |
Check Remote Control project settings to configure. | |
| bool | CanResetToDefaultValue
(
UObject* InObject, |
Returns true when the given object can be reset to its default value, false otherwise. | |
| URemoteControlPreset * | Create a transient preset. | ||
| bool | DestroyTransientPreset
(
const FGuid& PresetId |
Destroy a transient preset using its id. * PresetId id of the preset to destroy. | |
| bool | DestroyTransientPreset
(
FName PresetName |
Destroy a transient preset using its name. * PresetName name of the preset to destroy. | |
| int32 | EndManualEditorTransaction
(
const FGuid& TransactionId |
End a manual editor transaction originating from a remote request. | |
| IRemoteControlModule & | Get () |
Singleton-like access to this module's interface. | |
| const TMap< FName, FEntityMetadataInitializer > & | Get the map of registered default entity metadata initializers. | ||
| void | GetEmbeddedPresets
(
TArray< TWeakObjectPtr< URemoteControlPreset > >& OutEmbeddedPresets |
Gets all hosted presets currently registered with the module. | |
| const TMap< FName, TSharedPtr< IRemoteControlPropertyFactory > > & | Get map of the factories which is responsible for the Remote Control property creation | ||
| bool | GetObjectProperties
(
const FRCObjectReference& ObjectAccess, |
Serialize the Object Reference into the specified backend. | |
| void | GetPresetAssets
(
TArray< FAssetData >& OutPresetAssets, |
Get all the preset asset currently registered with the module. | |
| void | GetPresets
(
TArray< TSoftObjectPtr< URemoteControlPreset > >& OutPresets |
Get all the presets currently registered with the module. | |
| TSharedPtr< IPropertyIdHandler > | GetPropertyIdHandlerFor
(
FProperty* InProperty |
||
| bool | HasDefaultValueCustomization
(
const UObject* InObject, |
Returns true when the given object and property has custom default value, false otherwise. | |
| bool | InsertToObjectArrayProperty
(
int32 Index, |
Deserialize the Object Reference from the specified backend and insert it at the given position in an array property. | |
| bool | InvokeCall
(
FRCCall& InCall, |
Invoke a Remote Call This is a thin wrapper around UObject::ProcessEvent This expects that the caller has already validated the call as it will assert otherwise. | |
| bool | IsPresetTransient
(
const FGuid& PresetId |
Check whether a preset is transient using its id. * PresetId id of the preset to check. | |
| bool | IsPresetTransient
(
FName PresetName |
Check whether a preset is transient using its name. * PresetName name of the preset to check. | |
| FOnError & | OnError () |
||
| FOnPresetRegistered & | |||
| FOnPresetUnregistered & | |||
| void | PerformMasking
(
const TSharedRef< FRCMaskingOperation >& InMaskingOperation, |
Performs the given masking operation. | |
| bool | PropertySupportsRawModification
(
FProperty* InProperty, |
Returns whether the property can be modified through SetObjectProperties or read through ResolveObjectProperties when running with or without an editor. | |
| bool | PropertySupportsRawModificationWithoutEditor
(
FProperty* Property, |
Returns whether the property can be modified through SetObjectProperties when running without an editor. | |
| bool | RegisterDefaultEntityMetadata
(
FName MetadataKey, |
Register a default entity metadata which will show up in an entity's detail panel. | |
| bool | RegisterEmbeddedPreset
(
URemoteControlPreset* Preset, |
Registers a hosted (non-asset based) preset with an attached name. | |
| void | RegisterEntityFactory
(
const FName InFactoryName, |
Register factory | |
| void | RegisterMaskingFactoryForType
(
UScriptStruct* RemoteControlPropertyType, |
Register a masking factory to handle that masks the supported properties. | |
| bool | RegisterPreset
(
FName Name, |
Register the preset with the module, enabling using the preset remotely using its name. | |
| TSharedRef< InPropertyIdPropertyHandlerType > | RegisterPropertyIdPropertyHandler
(
InArgTypes&&... InArgs |
||
| void | RegisterPropertyIdPropertyHandlerImpl
(
const TSharedRef< IPropertyIdHandler >& InKeyPropertyHandler |
||
| bool | RemoveFromObjectArrayProperty
(
int32 Index, |
Remove an item from the referenced array. | |
| bool | ResetObjectProperties
(
const FRCObjectReference& ObjectAccess, |
Reset the property or the object the Object Reference is pointing to | |
| void | ResetToDefaultValue
(
UObject* InObject, |
Performs actual data reset on the given object. | |
| bool | ResolveCall
(
const FString& ObjectPath, |
Resolve a RemoteCall Object and Function. | |
| bool | ResolveObject
(
ERCAccess AccessType, |
Resolve a remote object reference to a property | |
| bool | ResolveObjectProperty
(
ERCAccess AccessType, |
Resolve a remote object reference to a property | |
| PRAGMA_ENABLE_DEPRECATION_WARNINGSURemoteControlPreset * | ResolvePreset
(
FName PresetName |
Get a preset using its name. * PresetName name of the preset to resolve. | |
| URemoteControlPreset * | ResolvePreset
(
const FGuid& PresetId |
Get a preset using its id. * PresetId id of the preset to resolve. | |
| PRAGMA_DISABLE_DEPRECATION_WARNINGSTOptional< struct FExposedFunction > | ResolvePresetFunction
(
const FResolvePresetFieldArgs& Args |
Resolve the underlying function from a preset. | |
| PRAGMA_ENABLE_DEPRECATION_WARNINGS virtual PRAGMA_DISABLE_DEPRECATION_WARNINGSTOptional< struct FExp... | ResolvePresetProperty
(
const FResolvePresetFieldArgs& Args |
Resolve the underlying property from a preset. | |
| bool | SetObjectProperties
(
const FRCObjectReference& ObjectAccess, |
Deserialize the Object Reference from the specified backend. | |
| bool | SetPresetController
(
const FName PresetName, |
Set a controller's value on a Remote Control Preset | |
| bool | SetPresetController
(
const FName PresetName, |
Set a controller's value on a Remote Control Preset | |
| bool | SupportsMasking
(
const UScriptStruct* InStruct |
Returns true if the given property can be masked, false otherwise. | |
| bool | SupportsMasking
(
const FProperty* InProperty |
Returns true if the given property can be masked, false otherwise. | |
| void | UnregisterDefaultEntityMetadata
(
FName MetadataKey |
Unregister a default entity metadata. | |
| void | UnregisterEmbeddedPreset
(
URemoteControlPreset* Preset |
||
| void | UnregisterEmbeddedPreset
(
FName Name |
Unregisters a hosted (non-asset based) preset with the given name. | |
| void | UnregisterEntityFactory
(
const FName InFactoryName |
Remove factory by name | |
| void | UnregisterMaskingFactoryForType
(
UScriptStruct* RemoteControlPropertyType |
Unregister a previously registered masking factory. | |
| void | UnregisterPreset
(
FName Name |
Unregister a preset |
Typedefs
| Name | Description |
|---|---|
| FOnError | Delegate triggered when an error occurs, which aren't necessarily written to UE LOG |
| FOnPresetRegistered | Delegate triggered when a preset has been registered |
| FOnPresetUnregistered | Delegate triggered when a preset has been unregistered |