Navigation
API > API/Plugins > API/Plugins/RigVM
| Name | FRigVMPropertyBag |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMCore/RigVMPropertyBag.h |
| Include Path | #include "RigVMCore/RigVMPropertyBag.h" |
Syntax
USTRUCT ()
struct FRigVMPropertyBag : public FInstancedPropertyBag
Inheritance Hierarchy
- FInstancedPropertyBag → FRigVMPropertyBag
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigVMPropertyBag() |
RigVMCore/RigVMPropertyBag.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| EmptyProperties | const TArray< const FProperty * > | RigVMCore/RigVMPropertyBag.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddProperties
(
const TArray< FRigVMPropertyDescription >& InPropertyDescriptions |
Adds properties to the storage. | RigVMCore/RigVMPropertyBag.h | |
void AddStructReferencedObjects
(
FReferenceCollector& Collector |
RigVMCore/RigVMPropertyBag.h | ||
| Returns a property given its name (or nullptr if the name wasn't found) | RigVMCore/RigVMPropertyBag.h | ||
void * GetContainerPtr() |
Returns the raw memory storage pointer. | RigVMCore/RigVMPropertyBag.h | |
| Returns the mutable memory for a given property (or nullptr if does not belong to this storage) | RigVMCore/RigVMPropertyBag.h | ||
| RigVMCore/RigVMPropertyBag.h | |||
T * GetData
(
int32 InPropertyIndex, |
Returns the memory for a property given its index and a matching property path. | RigVMCore/RigVMPropertyBag.h | |
const T * GetData
(
int32 InPropertyIndex |
RigVMCore/RigVMPropertyBag.h | ||
T * GetData
(
int32 InPropertyIndex |
Returns the memory for a property given its index. | RigVMCore/RigVMPropertyBag.h | |
FString GetDataAsString
(
int32 InPropertyIndex, |
Returns the exported text for a given property index. | RigVMCore/RigVMPropertyBag.h | |
| Returns the exported text for given property name. | RigVMCore/RigVMPropertyBag.h | ||
| Returns the exported text for given property name. | RigVMCore/RigVMPropertyBag.h | ||
FString GetDataAsStringSafe
(
int32 InPropertyIndex, |
Returns the exported text for a given property index. | RigVMCore/RigVMPropertyBag.h | |
T * GetDataByName
(
const FName& InName, |
Returns the memory for a property given its name and a matching property path (or nullptr) | RigVMCore/RigVMPropertyBag.h | |
T * GetDataByName
(
const FName& InName |
Returns the memory for a property given its name (or nullptr) | RigVMCore/RigVMPropertyBag.h | |
| Returns the properties provided by this instance. | RigVMCore/RigVMPropertyBag.h | ||
const FProperty * GetProperty
(
int32 InPropertyIndex |
Returns a property given its index. | RigVMCore/RigVMPropertyBag.h | |
int32 GetPropertyIndex
(
const FProperty* InProperty |
Returns the index of a property given the property itself. | RigVMCore/RigVMPropertyBag.h | |
int32 GetPropertyIndexByName
(
const FName& InName |
Returns the index of a property given its name. | RigVMCore/RigVMPropertyBag.h | |
T & GetRef
(
int32 InPropertyIndex, |
Returns the ref of an element stored at a given property index and a property path. | RigVMCore/RigVMPropertyBag.h | |
T & GetRef
(
int32 InPropertyIndex |
Returns the ref of an element stored at a given property index. | RigVMCore/RigVMPropertyBag.h | |
T & GetRefByName
(
const FName& InName, |
Returns the ref of an element stored at a given property name and a property path (throws if name is invalid) | RigVMCore/RigVMPropertyBag.h | |
T & GetRefByName
(
const FName& InName |
Returns the ref of an element stored at a given property name (throws if name is invalid) | RigVMCore/RigVMPropertyBag.h | |
| RigVMCore/RigVMPropertyBag.h | |||
| RigVMCore/RigVMPropertyBag.h | |||
bool IsArray
(
int32 InPropertyIndex |
Returns true if the property at a given index is a TArray. | RigVMCore/RigVMPropertyBag.h | |
bool IsMap
(
int32 InPropertyIndex |
Returns true if the property at a given index is a TMap. | RigVMCore/RigVMPropertyBag.h | |
bool IsValidIndex
(
int32 InIndex |
Returns true if a provided property index is valid. | RigVMCore/RigVMPropertyBag.h | |
int32 Num() |
Returns the number of properties stored in this instance. | RigVMCore/RigVMPropertyBag.h | |
void Refresh() |
RigVMCore/RigVMPropertyBag.h | ||
EPropertyBagAlterationResult RemovePropertyByName
(
const FName& InPropertyName |
Remove property from the storage. | RigVMCore/RigVMPropertyBag.h | |
bool Serialize
(
FArchive& Ar |
RigVMCore/RigVMPropertyBag.h | ||
bool SetDataFromString
(
int32 InPropertyIndex, |
Sets the content of a property by index given an exported string. Returns true if succeeded. | RigVMCore/RigVMPropertyBag.h | |
| Sets the content of a property by name given an exported string. Returns true if succeeded. | RigVMCore/RigVMPropertyBag.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| RigVMCore/RigVMPropertyBag.h | |||
void RefreshLinkedProperties() |
RigVMCore/RigVMPropertyBag.h | ||
void SetDefaultValues
(
const TArray< FRigVMPropertyDescription >& InPropertyDescriptions |
RigVMCore/RigVMPropertyBag.h | ||
void SetDefaultValuesOnTailProperties
(
const TArray< FRigVMPropertyDescription >& InPropertyDescriptions |
Set default values on the last properties added. | RigVMCore/RigVMPropertyBag.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Copies the content of a source property and memory into the memory of a target property | RigVMCore/RigVMPropertyBag.h | ||
static FPropertyBagPropertyDesc GeneratePropertyBagDescriptor
(
const FRigVMPropertyDescription& RigVMDescriptor, |
Helper function to generate a property bag desc from a FRigVMPropertyDescription. | RigVMCore/RigVMPropertyBag.h | |
static bool GetPropertyTypeDataFromVMDescriptor
(
const FRigVMPropertyDescription& RigVMDescriptor, |
RigVMCore/RigVMPropertyBag.h | ||
static bool IsClassOf
(
const FRigVMPropertyBag* InElement |
RigVMCore/RigVMPropertyBag.h |