Navigation
API > API/Plugins > API/Plugins/MovieRenderPipelineCore
Provides a scripting-friendly way to get/set values, and add/remove properties, in a property bag.
Does not protect against invalid property bags. When using, ensure that the property bag that the view is initialized with is valid. The view will also not take ownership of the property bag.
| Name | UMovieGraphValueView |
| Type | class |
| Header File | /Engine/Plugins/MovieScene/MovieRenderPipeline/Source/MovieRenderPipelineCore/Public/Graph/MovieGraphValueView.h |
| Include Path | #include "Graph/MovieGraphValueView.h" |
Syntax
UCLASS (Abstract)
class UMovieGraphValueView : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMovieGraphValueView
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Graph/MovieGraphValueView.h | |||
UMovieGraphValueView
(
FInstancedPropertyBag* InPropertyBag |
Graph/MovieGraphValueView.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PropertyBag | FInstancedPropertyBag * | Graph/MovieGraphValueView.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddProperties
(
const TArray< FMovieGraphValueViewProperty >& InProperties |
Bulk adds properties to the container. | Graph/MovieGraphValueView.h |
|
bool AddProperty
(
const FName& InPropertyName, |
Adds a new property to the container. | Graph/MovieGraphValueView.h |
|
TValueOrError< FPropertyBagArrayRef, EPropertyBagResult > GetArrayRef
(
const FName& InPropertyName |
Gets a reference to the array backing the value, if any. | Graph/MovieGraphValueView.h | |
int32 GetNumProperties() |
Gets the number of properties that this container holds. | Graph/MovieGraphValueView.h |
|
| Gets the metadata for the given property. | Graph/MovieGraphValueView.h |
|
|
| Gets the names of properties in this container. | Graph/MovieGraphValueView.h |
|
|
bool GetValueBool
(
const FName& InPropertyName, |
Gets the bool value of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h |
|
bool GetValueByte
(
const FName& InPropertyName, |
Gets the byte value of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h |
|
bool GetValueClass
(
const FName& InPropertyName, |
Gets the UClass value of the held data. | Graph/MovieGraphValueView.h |
|
EMovieGraphContainerType GetValueContainerType
(
const FName& InPropertyName |
Gets the container type of the stored value. | Graph/MovieGraphValueView.h |
|
bool GetValueDouble
(
const FName& InPropertyName, |
Gets the double value of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h |
|
bool GetValueEnum
(
const FName& InPropertyName, |
Gets the enum value (for a specific enum) of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h |
|
bool GetValueEnum
(
const FName& InPropertyName, |
Gets the enum value of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h | |
bool GetValueFloat
(
const FName& InPropertyName, |
Gets the float value of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h |
|
bool GetValueInt32
(
const FName& InPropertyName, |
Gets the int32 value of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h |
|
bool GetValueInt64
(
const FName& InPropertyName, |
Gets the int64 value of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h |
|
bool GetValueName
(
const FName& InPropertyName, |
Gets the FName value of the held data. | Graph/MovieGraphValueView.h |
|
bool GetValueObject
(
const FName& InPropertyName, |
Gets the object value of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h | |
bool GetValueObject
(
const FName& InPropertyName, |
Gets the object value (for a specific class) of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h |
|
| Gets the serialized string value of the held data. | Graph/MovieGraphValueView.h |
|
|
bool GetValueString
(
const FName& InPropertyName, |
Gets the FString value of the held data. | Graph/MovieGraphValueView.h |
|
bool GetValueStruct
(
const FName& InPropertyName, |
Gets the struct value (for a specific struct) of the held data. | Graph/MovieGraphValueView.h | |
bool GetValueStruct
(
const FName& InPropertyName, |
Gets the struct value of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h | |
bool GetValueText
(
const FName& InPropertyName, |
Gets the FText value of the held data. | Graph/MovieGraphValueView.h |
|
EMovieGraphValueType GetValueType
(
const FName& InPropertyName |
Gets the type of the stored data. | Graph/MovieGraphValueView.h |
|
| Gets the object that defines the enum, struct, or class. | Graph/MovieGraphValueView.h |
|
|
bool HasProperty
(
const FName& InPropertyName |
Returns true if a property by the given name exists in the container, else false. | Graph/MovieGraphValueView.h |
|
bool IsValid() |
Determines if this view is valid (meaning it points to a non-null property bag, and the bag is valid itself). | Graph/MovieGraphValueView.h |
|
void RemoveAllProperties() |
Removes all properties and their values, effectively resetting the property bag. | Graph/MovieGraphValueView.h |
|
bool RemoveProperty
(
const FName& InPropertyName |
Removes a property by the given name. Returns true on successful remove, otherwise returns false. | Graph/MovieGraphValueView.h |
|
bool SetValueBool
(
const FName& InPropertyName, |
Sets the bool value of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h |
|
bool SetValueByte
(
const FName& InPropertyName, |
Sets the byte value of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h |
|
| Sets the class value of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h |
|
|
void SetValueContainerType
(
const FName& InPropertyName, |
Sets the container type of the stored value. | Graph/MovieGraphValueView.h |
|
bool SetValueDouble
(
const FName& InPropertyName, |
Sets the double value of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h |
|
bool SetValueEnum
(
const FName& InPropertyName, |
Sets the enum value of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h |
|
bool SetValueEnum
(
const FName& InPropertyName, |
Sets the enum value of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h | |
bool SetValueFloat
(
const FName& InPropertyName, |
Sets the float value of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h |
|
bool SetValueInt32
(
const FName& InPropertyName, |
Sets the int32 value of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h |
|
bool SetValueInt64
(
const FName& InPropertyName, |
Sets the int64 value of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h |
|
bool SetValueName
(
const FName& InPropertyName, |
Sets the FName value of the held data. | Graph/MovieGraphValueView.h |
|
bool SetValueObject
(
const FName& InPropertyName, |
Sets the object value of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h | |
bool SetValueObject
(
const FName& InPropertyName, |
Sets the object value of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h |
|
bool SetValueSerializedString
(
const FName& InPropertyName, |
Sets the serialized value of the held data. | Graph/MovieGraphValueView.h |
|
bool SetValueString
(
const FName& InPropertyName, |
Sets the FString value of the held data. | Graph/MovieGraphValueView.h |
|
bool SetValueStruct
(
const FName& InPropertyName, |
Sets the struct value of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h | |
bool SetValueStruct
(
const FName& InPropertyName, |
Sets the struct value of the held data. Returns true on success, else false. | Graph/MovieGraphValueView.h | |
bool SetValueText
(
const FName& InPropertyName, |
Sets the FText value of the held data. | Graph/MovieGraphValueView.h |
|
void SetValueType
(
const FName& InPropertyName, |
Sets the type of the stored data. Enums, structs, and classes must specify a value type object. | Graph/MovieGraphValueView.h |
|
| Sets the object that defines the enum, struct, or class. | Graph/MovieGraphValueView.h |
|
|
void ViewProperties
(
FInstancedPropertyBag* InPropertyBag |
Update the view to use the specified property bag. | Graph/MovieGraphValueView.h |