Navigation
Unreal Engine C++ API Reference > Plugins > RemoteControl
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- URemoteControlPreset
References
Module | RemoteControl |
Header | /Engine/Plugins/VirtualProduction/RemoteControl/Source/RemoteControl/Public/RemoteControlPreset.h |
Include | #include "RemoteControlPreset.h" |
Syntax
UCLASS (BlueprintType, EditInlineNew)
class URemoteControlPreset : public UObject
Remarks
Holds exposed functions and properties.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
TArray< TObjectPtr< URemoteControlBinding > > | Bindings | This preset's list of objects that are exposed or that have exposed fields. |
![]() ![]() |
FRemoteControlPresetLayout | Layout | The visual layout for this preset. |
![]() ![]() |
TMap< FString, FString > | Metadata | This preset's metadata. |
![]() |
TWeakObjectPtr< const UWorld > | SelectedWorld | Current selected world used only in the editor to let you switch world |
![]() ![]() |
TArray< TObjectPtr< UObject > > | UserData | This preset's user data |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
URCVirtualPropertyInContainer * | AddController
(
TSubclassOf< URCVirtualPropertyInContainer > InPropertyClass, |
Adds a Virtual Property (Controller) to the Remote Control Preset |
![]() ![]() |
void | Cache this preset's controllers labels. | |
![]() |
void | Cache this preset's layout data. | |
![]() |
URCVirtualPropertyInContainer * | DuplicateController
(
URCVirtualPropertyInContainer* InVirtualProperty |
Duplicates a given Virtual Property from the Remote Control preset |
![]() |
TSharedPtr< FRemoteControlEntity > | Expose
(
FRemoteControlEntity&& Entity, |
Expose an entity in the registry. |
![]() |
TWeakPtr< FRemoteControlActor > | ExposeActor
(
AActor* Actor, |
Expose an actor on this preset. |
![]() |
TWeakPtr< FRemoteControlFunction > | ExposeFunction
(
UObject* Object, |
Expose a function on this preset. |
![]() |
TWeakPtr< FRemoteControlProperty > | ExposeProperty
(
UObject* Object, |
Expose a property on this preset. |
![]() ![]() |
TSharedPtr< FRemoteControlProperty > | FindExposedProperty
(
UObject* InOuterObject, |
Gets a given object's property exposed property guid in this preset |
![]() |
URemoteControlBinding * | FindOrAddBinding
(
const TSoftObjectPtr< UObject >& Object |
Try to get a binding and creates a new one if it doesn't exist. |
![]() ![]() |
FName | GenerateUniqueLabel
(
const FName InDesiredName |
Generate label from Registry |
![]() ![]() |
URCVirtualPropertyBase * | GetController
(
const FGuid& InId |
Fetches a controller by unique Id. |
![]() ![]() |
URCVirtualPropertyBase * | GetController
(
const FName InPropertyName |
PropertyWrapperFunctions |
![]() ![]() |
URCVirtualPropertyBase * | GetControllerByDisplayName
(
const FName InDisplayName |
Fetches a virtual property by specified name. |
![]() ![]() |
URCVirtualPropertyBase * | GetControllerByFieldId
(
const FName InFieldId, |
Fetches the first Controller matching the specified Field Id and ValueType |
![]() ![]() |
URCVirtualPropertyBase * | GetControllerByFieldId
(
const FName InFieldId |
Fetches the first found Controller matching the specified Field Id |
![]() |
TSharedPtr< FStructOnScope > | Returns the Struct On Scope of the Controller Container (value ptr of the virtual properties)* Currently used by the UI class SRCControllerPanelList for user value entry via the RC Controllers panel | |
![]() ![]() |
TArray< URCVirtualPropertyBase * > | Fetches all controller | |
![]() ![]() |
TArray< URCVirtualPropertyBase * > | GetControllersByFieldId
(
const FName InFieldId |
Fetches an array of all Controllers with the specified Field Id. |
![]() ![]() |
TArray< EPropertyBagPropertyType > | GetControllersTypesByFieldId
(
const FName InFieldId |
Fetches an array of all Controllers Types with the specified Field Id. |
![]() ![]() |
const TArray< FName > & | ||
![]() ![]() |
UWorld * | ||
![]() ![]() |
FName | GetEntityName
(
const FName InDesiredName, |
Get entity name from given Desired or UObject + Field Path |
![]() |
TArray< TWeakPtr< FRemoteControlEntity > > | GetExposedEntities
(
UScriptStruct* EntityType |
|
![]() |
TArray< TWeakPtr< ExposableEntityType > > | Get the exposed entities of a certain type. | |
![]() ![]() |
TArray< TWeakPtr< const ExposableEntityType > > | Get the exposed entities of a certain type. | |
![]() ![]() |
TWeakPtr< const ExposableEntityType > | GetExposedEntity
(
const FGuid& ExposedEntityId |
Get a copy of an exposed entity on the preset. |
![]() |
TWeakPtr< ExposableEntityType > | GetExposedEntity
(
const FGuid& ExposedEntityId |
Get a pointer to an exposed entity on the preset. |
![]() ![]() |
FGuid | GetExposedEntityId
(
FName Label |
Get the ID of an exposed entity using its label. |
![]() ![]() |
const UScriptStruct * | GetExposedEntityType
(
const FGuid& ExposedEntityId |
Get the type of an exposed entity by querying with its id. |
![]() ![]() |
const TSet< TObjectPtr< UScriptStruct > > & | Get all types of exposed entities currently exposed. | |
![]() ![]() |
TOptional< FRemoteControlField > | Get a field ptr using it's id. | |
![]() ![]() |
TOptional< FRemoteControlFunction > | GetFunction
(
FName FunctionLabel |
Get an exposed function using its label. |
![]() ![]() |
TOptional< FRemoteControlFunction > | GetFunction
(
FGuid FunctionId |
Get an exposed function using its id. |
![]() ![]() |
ERCModifyOperationFlags | Returns how this preset modifies properties when changed by protocols | |
![]() ![]() |
int32 | Returns the number of Virtual Properties contained in this Remote Control preset | |
![]() ![]() |
const FGuid & | GetPresetId () |
Get this preset's unique ID. |
![]() ![]() |
FName | Returns the FName that represents this asset or hosted preset. | |
![]() ![]() |
TOptional< FRemoteControlProperty > | GetProperty
(
FGuid PropertyId |
Get an exposed property using its id. |
![]() ![]() |
TOptional< FRemoteControlProperty > | GetProperty
(
FName PropertyLabel |
Get an exposed property using its label. |
![]() ![]() |
TObjectPtr< URemoteControlPropertyIdRegistry > | Get the PropertyIdRegistry. | |
![]() ![]() |
URCSignatureRegistry * | Returns the preset's signature registry | |
![]() ![]() |
UWorld * | GetWorld
(
bool bAllowPIE |
|
![]() ![]() |
UWorld * | GetWorld
(
const URemoteControlPreset* Preset, |
|
![]() ![]() |
const bool | HasEntities () |
Returns true when Exposed Entities is populated. |
![]() |
bool | Checks whether the Controller Container (which holds all Virtual Properties) is currently valid | |
![]() ![]() |
bool | Returns true if the preset is hosted within another asset. | |
![]() ![]() |
bool | Returns whether an entity is exposed on the preset. | |
![]() |
void | NotifyExposedPropertyChanged
(
FName PropertyLabel |
|
![]() |
FOnActorPropertyModified & | ||
![]() |
FOnControllerAdded & | ||
![]() |
FOnControllerIdsRenewed & | ||
![]() |
FOnControllerModified & | ||
![]() |
FOnControllerRemoved & | ||
![]() |
FOnControllerRenamed & | ||
![]() |
FOnPresetEntitiesUpdatedEvent & | Delegate called when the exposed entity wrapper itself is updated (ie. binding change, rename) | |
![]() |
FOnPresetEntityEvent & | ||
![]() |
FOnEntityRebind & | ||
![]() |
FOnPresetEntityEvent & | ||
![]() |
FOnPresetExposedPropertiesModified & | Delegate called with the list of exposed property that were modified in the last frame. | |
![]() |
FOnPresetFieldRenamed & | ||
![]() |
FOnPresetMetadataModified & | ||
![]() |
void | OnModifyController
(
const FPropertyChangedEvent& PropertyChangedEvent |
Called when a virtual property is modified. |
![]() |
void | OnNotifyPreChangeVirtualProperty
(
const FPropertyChangedEvent& PropertyChangedEvent |
Called when a virtual property's value is being scrubbed by the user in the UI. |
![]() |
FOnPresetLayoutModified & | ||
![]() |
FOnPresetPropertyExposed & | ||
![]() |
FOnPropertyIdsRenewed & | ||
![]() |
FOnPresetPropertyUnexposed & | ||
![]() ![]() |
FOnVirtualPropertyContainerModified & | ||
![]() ![]() |
void | PerformChainReaction
(
const FRemoteControlPropertyIdArgs& InArgs |
Calls to the PropertyIdRegistry PerformChainReaction to update the value(s) of the property(ies) that are bound to a PropertyIdAction. |
![]() |
void | RebindAllEntitiesUnderSameActor
(
const FGuid& EntityId, |
Given a RC Entity, rebind all entities with the same owner to a new actor. |
![]() |
void | Attempt to rebind all currently unbound properties. | |
![]() |
bool | RemoveController
(
const FName& InPropertyName |
Removes a given Virtual Property (by Name) from the Remote Control preset |
![]() |
FName | RenameExposedEntity
(
const FGuid& ExposedEntityId, |
Change the label of an entity. |
![]() |
void | RenameField
(
FName OldFieldLabel, |
Rename a field. |
![]() |
void | Renews all controller guids. Necessary when duplicating. | |
![]() |
void | Renews all exposed entity guids. Necessary when duplicating. | |
![]() |
void | Removes all virtual properties held by this Remote Control preset | |
![]() |
TArray< UObject * > | ResolvedBoundObjects
(
FName FieldLabel |
Resolves exposed property/function bounded objects |
![]() ![]() |
PRAGMA_ENABLE_DEPRECATION_WARNINGSPRAGMA_DISABLE_DEPRECATION_WARNINGSTOptional< FExposedFunction > | ResolveExposedFunction
(
FName FunctionLabel |
Resolve a remote controlled function to its UFunction and owner objects. |
![]() ![]() |
PRAGMA_DISABLE_DEPRECATION_WARNINGSTOptional< FExposedProperty > | ResolveExposedProperty
(
FName PropertyLabel |
Resolve a remote controlled property to its FProperty and owner objects. |
![]() |
void | SetControllerContainer
(
URCVirtualPropertyContainerBase* InControllerContainer |
Sets the Controller Container (holds all Virtual Properties) |
![]() ![]() |
FName | SetControllerDisplayName
(
FGuid InControllerGuid, |
Rename the given controller with the new name if the name is unique |
![]() |
void | SetDetailsTabIdentifierOverrides
(
const TArray< FName >& NewOverrides |
|
![]() |
void | SetModifyOperationFlagsForProtocols
(
ERCModifyOperationFlags InOperationFlags |
Sets how this preset modifies properties when changed by protocols |
![]() |
PRAGMA_ENABLE_DEPRECATION_WARNINGS void | Unexpose an entity from the preset. | |
![]() |
void | Unexpose an entity from the preset. | |
![]() ![]() |
void | UpdateIdentifiedField
(
const TSharedRef< FRemoteControlField >& InFieldToIdentify |
Calls to the PropertyIdRegistry UpdateIdentifiedField to updates a field from the set of identified fields. |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | BeginDestroy () |
Called before destroying the object. |
![]() ![]() |
void | PostDuplicate
(
bool bDuplicateForPIE |
Called after duplication & serialization and before PostLoad. |
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
![]() ![]() |
void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. | |
![]() ![]() |
void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
![]() ![]() |
void | Handles reading, writing, and reference collecting using FArchive. |
Typedefs
Name | Description |
---|---|
FGuidToGuidMap | |
FOnActorPropertyModified | |
FOnControllerAdded | |
FOnControllerIdsRenewed | |
FOnControllerModified | |
FOnControllerRemoved | |
FOnControllerRenamed | |
FOnEntityRebind | |
FOnPostInitPropertiesRemoteControlPreset | Callback for post init properties of remote control preset, called by URemoteControlPreset::PostInitProperties function |
FOnPostLoadRemoteControlPreset | Callback for post remote control preset load, called by URemoteControlPreset::PostLoad function |
FOnPresetEntitiesUpdatedEvent | |
FOnPresetEntityEvent | |
FOnPresetExposedPropertiesModified | |
FOnPresetFieldRenamed | |
FOnPresetLayoutModified | |
FOnPresetMetadataModified | |
FOnPresetPropertyExposed | |
FOnPresetPropertyUnexposed | |
FOnPropertyIdsRenewed |
Constants
Name | Description |
---|---|
OnPostInitPropertiesRemoteControlPreset | |
OnPostLoadRemoteControlPreset |