Navigation
API > API/Plugins > API/Plugins/RigVM > API/Plugins/RigVM/RigVMCore
References
| Module | RigVM |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMCore/RigVMMemoryStorage.h |
| Include | #include "RigVMCore/RigVMMemoryStorage.h" |
Syntax
struct FRigVMMemoryHandle
Remarks
The FRigVMMemoryHandle is used to access the memory used within a URigMemoryStorage. The Memory Handle caches the pointer of the head property, and can rely on a RigVMPropertyPath to traverse towards a tail property. For example it can cache the pointer of a TArray
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor. | |||
FRigVMMemoryHandle
(
uint8* InPtr, |
Constructor from complete data. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | ComputeLazyValueIfNecessary
(
FRigVMExtendedExecuteContext& Context, |
Computes the data if necessary and returns true if the value is valid | |
| uint8 * | GetData
(
bool bFollowPropertyPath, |
Returns the cached pointer stored within the handle. | |
| const uint8 * | GetData
(
bool bFollowPropertyPath, |
Computes the data if necessary and returns the cached pointer stored within the handle. | |
| TRigVMLazyValue< ComputedType > | GetDataLazily
(
bool bFollowPropertyPath, |
Computes the data if necessary and returns the cached pointer stored within the handle. | |
| const FProperty * | GetProperty () |
Returns the head property of this handle. | |
| const FRigVMPropertyPath * | Returns the [optional] property path used within this handle. | ||
| const FRigVMPropertyPath & | Returns the [optional] property path used within this handle (ref) | ||
| const FProperty * | GetResolvedProperty
(
bool bIsHiddenArgument |
Returns the resolved property the data is pointing to. | |
| bool | IsBool
(
bool bIsHiddenArgument |
Returns true if this memory handle maps to a bool property. | |
| bool | IsBoolArray
(
bool bIsHiddenArgument |
Returns true if this memory handle maps to a bool array property. | |
| bool | IsDouble
(
bool bIsHiddenArgument |
Returns true if this memory handle maps to a double property. | |
| bool | IsDoubleArray
(
bool bIsHiddenArgument |
Returns true if this memory handle maps to a double array property. | |
| bool | Returns true if this memory handle maps to an enum property. | ||
| bool | IsEnum
(
bool bIsHiddenArgument |
Returns true if this memory handle maps to an enum property. | |
| bool | IsEnumArray
(
const UEnum* InEnum, |
Returns true if this memory handle maps to an enum array property. | |
| bool | IsEnumArray
(
bool bIsHiddenArgument |
Returns true if this memory handle maps to an enum array property. | |
| bool | IsFloat
(
bool bIsHiddenArgument |
Returns true if this memory handle maps to a float property. | |
| bool | IsFloatArray
(
bool bIsHiddenArgument |
Returns true if this memory handle maps to a float array property. | |
| bool | IsInt32
(
bool bIsHiddenArgument |
Returns true if this memory handle maps to a int32 property. | |
| bool | IsInt32Array
(
bool bIsHiddenArgument |
Returns true if this memory handle maps to a int32 array property. | |
| bool | IsLazy () |
Returns true if this memory handle depends on a lazily executed branch | |
| bool | IsName
(
bool bIsHiddenArgument |
Returns true if this memory handle maps to an FName property. | |
| bool | IsNameArray
(
bool bIsHiddenArgument |
Returns true if this memory handle maps to an FName array property. | |
| bool | Returns true if this memory handle maps to an object property. | ||
| bool | IsObject
(
bool bIsHiddenArgument |
Returns true if this memory handle maps to an object property. | |
| bool | IsObjectArray
(
const UClass* InClass, |
Returns true if this memory handle maps to an objct array property. | |
| bool | IsObjectArray
(
bool bIsHiddenArgument |
Returns true if this memory handle maps to an objct array property. | |
| bool | IsPropertyArrayType
(
bool bIsHiddenArgument |
Returns true if this memory handle maps to a given array type of property. | |
| bool | IsPropertyType
(
bool bIsHiddenArgument |
Returns true if this memory handle maps to a given type of property. | |
| bool | IsString
(
bool bIsHiddenArgument |
Returns true if this memory handle maps to an FString property. | |
| bool | IsStringArray
(
bool bIsHiddenArgument |
Returns true if this memory handle maps to an FString array property. | |
| bool | IsStruct
(
bool bIsHiddenArgument |
Returns true if this memory handle maps to a struct property. | |
| bool | IsStruct
(
bool bIsHiddenArgument |
Returns true if this memory handle maps to a struct property. | |
| bool | IsStruct
(
const UScriptStruct* InStruct, |
Returns true if this memory handle maps to a struct property. | |
| bool | IsStructArray
(
bool bIsHiddenArgument |
Returns true if this memory handle maps to a struct array property. | |
| bool | IsStructArray
(
bool bIsHiddenArgument |
Returns true if this memory handle maps to a struct array property. | |
| bool | IsStructArray
(
const UScriptStruct* InStruct, |
Returns true if this memory handle maps to a struct array property. | |
| bool | IsType
(
bool bIsHiddenArgument |
Returns true if the handle is of the given type | |
| bool | IsType
(
bool bIsHiddenArgument |
Returns true if the handle is of the given type | |
| bool | IsType
(
bool bIsHiddenArgument |
Returns true if the handle is of the given type | |
| bool | IsType
(
bool bIsHiddenArgument |
Returns true if the handle is of the given type | |
| bool | IsType
(
bool bIsHiddenArgument |
Returns true if the handle is of the given type | |
| bool | IsType
(
bool bIsHiddenArgument |
Returns true if the handle is of the given type | |
| bool | IsType
(
bool bIsHiddenArgument |
Returns true if the handle is of the given type | |
| bool | IsType
(
bool bIsHiddenArgument |
Returns true if the handle is of the given type | |
| bool | IsType
(
bool bIsHiddenArgument |
Returns true if the handle is of the given type | |
| bool | IsType
(
bool bIsHiddenArgument |
Returns true if the handle is of the given type | |
| bool | IsType
(
bool bIsHiddenArgument |
Returns true if the handle is of the given type | |
| bool | IsTypeArray
(
bool bIsHiddenArgument |
Returns true if the handle is of the given type | |
| bool | IsTypeArray
(
bool bIsHiddenArgument |
Returns true if the handle is of the given type | |
| bool | IsTypeArray
(
bool bIsHiddenArgument |
Returns true if the handle is of the given type | |
| bool | IsTypeArray
(
bool bIsHiddenArgument |
Returns true if the handle is of the given type | |
| bool | IsTypeArray
(
bool bIsHiddenArgument |
Returns true if the handle is of the given type | |
| bool | IsTypeArray
(
bool bIsHiddenArgument |
Returns true if the handle is of the given type | |
| bool | IsTypeArray
(
bool bIsHiddenArgument |
Returns true if the handle is of the given type | |
| bool | IsTypeArray
(
bool bIsHiddenArgument |
Returns true if the handle is of the given type | |
| bool | IsTypeArray
(
bool bIsHiddenArgument |
Returns true if the handle is of the given type | |
| bool | IsTypeArray
(
bool bIsHiddenArgument |
Returns true if the handle is of the given type |