Navigation
API > API/Plugins > API/Plugins/RemoteControl
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- URCVirtualPropertyBase
- URCVirtualPropertyInContainer
- URCController
- URCVirtualPropertySelfContainer
References
| Module | RemoteControl |
| Header | /Engine/Plugins/VirtualProduction/RemoteControl/Source/RemoteControl/Public/RCVirtualProperty.h |
| Include | #include "RCVirtualProperty.h" |
Syntax
UCLASS&40;BlueprintType&41;
class URCVirtualPropertyBase : public UObject
Remarks
Base class for dynamic virtual properties Remote Control Virtual Properties using Property Bag and FInstancedPropertyBag to serialize FProperties values and UStruct
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | DisplayIndex | User configurable Display Index for this Virtual Property (as Logic Controller) when represented as a row in the RC Logic Controllers list | |
| FName | DisplayName | User friendly name of the Controller | |
| FName | FieldId | Property Field Id | |
| FGuid | Id | Property Id | |
| TMap< FName, FString > | Metadata | ||
| TWeakObjectPtr< URemoteControlPreset > | PresetWeakPtr | Pointer to Remote Control Preset | |
| FName | PropertyName | Unique property name |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CopyCompleteValue
(
const FProperty* InTargetProperty, |
Copy this virtual property's data onto a given FProperty | |
| bool | CopyCompleteValue
(
URCVirtualPropertyBase* InVirtualProperty |
Copy this virtual property's data onto a given Virtual Property | |
| bool | DeserializeFromBackend
(
IStructDeserializerBackend& InBackend |
Deserialize Virtual Property from a given Backend | |
| const FPropertyBagPropertyDesc * | Return Pointer to Bag Property Description | ||
| uint8 * | Return pointer to memory container | ||
| const uint8 * | Return pointer to memory const container | ||
| FString | Infers correct type internally, fetches value from memory and returns the value as a string that can be immediately used for dispaly (without needing to create a generic readonly property widget) | ||
| FString | GetMetadataValue
(
FName Key |
Get Metadata from the internal PropertyBag | |
| FProperty * | GetProperty () |
Returns FProperty for this RC virtual property | |
| const FProperty * | GetProperty () |
Returns const FProperty for this RC virtual property | |
| const FInstancedPropertyBag * | Pointer to Instanced property which is holds bag of properties | ||
| FName | Get FProperty Name | ||
| bool | GetValueBool
(
bool& OutBoolValue |
Get Bool value from Virtual Property | |
| bool | GetValueByte
(
uint8& OutByte |
Get Byte value from Virtual Property | |
| bool | GetValueColor
(
FColor& OutColor |
Get Color value from Virtual Property | |
| bool | GetValueDouble
(
double& OutDouble |
Get Double value from Virtual Property | |
| bool | GetValueFloat
(
float& OutFloat |
Get Float value from Virtual Property | |
| bool | GetValueInt16
(
int16& OutInt16 |
Get Int16 value from Virtual Property | |
| bool | GetValueInt32
(
int32& OutInt32 |
Get Int32 value from Virtual Property | |
| bool | GetValueInt64
(
int64& OuyInt64 |
Get Int64 value from Virtual Property | |
| bool | GetValueInt8
(
int8& OutInt8 |
Get Int8 value from Virtual Property | |
| bool | GetValueName
(
FName& OutNameValue |
Get Name value from Virtual Property | |
| bool | GetValueNumericInteger
(
int64& OutInt64Value |
Get Numeric value from Virtual Property | |
| UObject * | Get Object value from Virtual Property | ||
| const uint8 * | GetValuePtr () |
Return pointer to const value | |
| uint8 * | GetValuePtr () |
Return pointer to value | |
| bool | GetValueRotator
(
FRotator& OutRotator |
Get Rotator value from Virtual Property | |
| bool | GetValueString
(
FString& OutStringValue |
Get String value from Virtual Property | |
| bool | GetValueText
(
FText& OutTextValue |
Get Text value from Virtual Property | |
| EPropertyBagPropertyType | GetValueType () |
Return property bag property type | |
| const UObject * | Return pointer to object that defines the Enum, Struct, or Class. | ||
| bool | GetValueUint16
(
uint16& OutUInt16 |
Get Uint16 value from Virtual Property | |
| bool | GetValueUInt32
(
uint32& OutUInt32 |
Get Uint32 value from Virtual Property | |
| bool | GetValueUint64
(
uint64& OuyUInt64 |
Get Uint64 value from Virtual Property | |
| bool | GetValueVector
(
FVector& OutVector |
Get Vector value from Virtual Property | |
| FName | GetVirtualPropertyTypeDisplayName
(
const EPropertyBagPropertyType InValueType, |
Fetches a user-friendly representation of the Virtual Property's type name (i.e. Controller type), given a Property Bag type and value object (for structures) | |
| void | Init () |
Initialization routine. Called after the parent container has setup data for this property | |
| bool | IsColorType () |
Whether this Virtual Property represents an FColor | |
| bool | Whether this Virtual Property is a numeric type, i.e. an Integral or Floating point type | ||
| bool | Whether this Virtual Property represents an FRotator | ||
| bool | IsValueEqual
(
URCVirtualPropertyBase* InVirtualProperty |
Compare this virtual property value with given property value | |
| bool | IsValueGreaterThan
(
URCVirtualPropertyBase* InVirtualProperty |
Operator > comparison of self with a given virtual property | |
| bool | IsValueGreaterThanOrEqualTo
(
URCVirtualPropertyBase* InVirtualProperty |
Operator >= comparison of self with a given virtual property | |
| bool | IsValueLesserThan
(
URCVirtualPropertyBase* InVirtualProperty |
Operator < comparison of self with a given virtual property | |
| bool | IsValueLesserThanOrEqualTo
(
URCVirtualPropertyBase* InVirtualProperty |
Operator <= comparison of self with a given virtual property | |
| bool | IsVectorType () |
Whether this Virtual Property represents an FVector | |
| void | Notifies post change for Virtual Property value | ||
| void | Notifies pre change for Virtual Property value | ||
| void | RemoveMetadataValue
(
FName Key |
Remove Metadata from the internal PropertyBag | |
| void | SerializeToBackend
(
IStructSerializerBackend& OutBackend |
Serialize Virtual Property to given Backend | |
| void | SetDisplayIndex
(
const int32 InDisplayIndex |
Updates the display index of the virtual property (transaction aware) | |
| void | SetMetadataValue
(
FName Key, |
Add/Set Metadata into the internal PropertyBag | |
| bool | SetValueBool
(
const bool InBoolValue |
Set Bool value from Virtual Property | |
| bool | SetValueByte
(
const uint8 InByte |
Set Byte value from Virtual Property | |
| bool | SetValueColor
(
const FColor& InColor |
Set Color value from Virtual Property | |
| bool | SetValueDouble
(
const double InDouble |
Set Double value from Virtual Property | |
| bool | SetValueFloat
(
const float InFloat |
Set Float value from Virtual Property | |
| bool | SetValueInt16
(
const int16 InInt16 |
Set Int16 value from Virtual Property | |
| bool | SetValueInt32
(
const int32 InInt32 |
Set Int32 value from Virtual Property | |
| bool | SetValueInt64
(
const int64 InInt64 |
Set Int64 value from Virtual Property | |
| bool | SetValueInt8
(
const int8 InInt8 |
Set Int8 value from Virtual Property | |
| bool | SetValueName
(
const FName& InNameValue |
Set Name value from Virtual Property | |
| bool | SetValueNumericInteger
(
const int64 InInt64Value |
Set Numeric value from Virtual Property | |
| bool | SetValueRotator
(
const FRotator& InRotator |
Set Rotator value from Virtual Property | |
| bool | SetValueString
(
const FString& InStringValue |
Set String value from Virtual Property | |
| bool | SetValueText
(
const FText& InTextValue |
Set Text value from Virtual Property | |
| bool | SetValueUint16
(
const uint16 InUInt16 |
Set Uint16 value from Virtual Property | |
| bool | SetValueUInt32
(
const uint32 InUInt32 |
Set Uint32 value from Virtual Property | |
| bool | SetValueUint64
(
const uint64 InUInt64 |
Set Uint64 value from Virtual Property | |
| bool | SetValueVector
(
const FVector& InVector |
Set Vector value from Virtual Property |