Navigation
API > API/Plugins > API/Plugins/PCG
Base class for accessor. GetRange and SetRange will be sepcialized for all supported types, and there are a GetRange and SetRange virtual for each supported type. For Get/Set, you need a key, that will represent how you can access the value wanted. cf PCGAttributeAccessorKeys. NOTE: This is not threadsafe and not intended to be used unprotected.
| Name | IPCGAttributeAccessor |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/Accessors/IPCGAttributeAccessor.h |
| Include Path | #include "Metadata/Accessors/IPCGAttributeAccessor.h" |
Syntax
class IPCGAttributeAccessor
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
IPCGAttributeAccessor
(
bool bInReadOnly, |
Metadata/Accessors/IPCGAttributeAccessor.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IPCGAttributeAccessor() |
Metadata/Accessors/IPCGAttributeAccessor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Get
(
T& OutValue, |
Both GetRange and SetRange will be specialized for all supported types. | Metadata/Accessors/IPCGAttributeAccessor.h | |
bool Get
(
T& OutValue, |
Get a value from the accessor for a given type at index 0. Not threadsafe for all accessors. | Metadata/Accessors/IPCGAttributeAccessor.h | |
bool GetRange
(
TArrayView< FName > OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRange
(
TArrayView< T > OutValues, |
Get a range of values from the accessor for a given type. | Metadata/Accessors/IPCGAttributeAccessor.h | |
bool GetRange
(
TArrayView< int32 > OutValues, |
|||
bool GetRange
(
TArrayView< int64 > OutValues, |
|||
bool GetRange
(
TArrayView< float > OutValues, |
|||
bool GetRange
(
TArrayView< double > OutValues, |
|||
bool GetRange
(
TArrayView< FVector2D > OutValues, |
|||
bool GetRange
(
TArrayView< FVector > OutValues, |
|||
bool GetRange
(
TArrayView< FVector4 > OutValues, |
|||
bool GetRange
(
TArrayView< FQuat > OutValues, |
|||
bool GetRange
(
TArrayView< FTransform > OutValues, |
|||
bool GetRange
(
TArrayView< FString > OutValues, |
|||
bool GetRange
(
TArrayView< bool > OutValues, |
|||
bool GetRange
(
TArrayView< FName > OutValues, |
|||
bool GetRange
(
TArrayView< FSoftObjectPath > OutValues, |
|||
bool GetRange
(
TArrayView< FSoftClassPath > OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRange
(
TArrayView< int32 > OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRange
(
TArrayView< int64 > OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRange
(
TArrayView< float > OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRange
(
TArrayView< double > OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRange
(
TArrayView< FVector2D > OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRange
(
TArrayView< FVector > OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRange
(
TArrayView< FVector4 > OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRange
(
TArrayView< FQuat > OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRange
(
TArrayView< FTransform > OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRange
(
TArrayView< FString > OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRange
(
TArrayView< bool > OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRange
(
TArrayView< FRotator > OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRange
(
TArrayView< FSoftObjectPath > OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRange
(
TArrayView< FSoftClassPath > OutValues, |
|||
bool GetRange
(
TArrayView< FRotator > OutValues, |
|||
int16 GetUnderlyingType() |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
virtual bool IsAttribute() |
To know if we can do default value operations. | Metadata/Accessors/IPCGAttributeAccessor.h | |
bool IsReadOnly() |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
virtual void Prepare
(
IPCGAttributeAccessorKeys& Keys, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool Set
(
const T& InValue, |
Set a value to the accessor for a given type at index 0. Not threadsafe for all accessors. | Metadata/Accessors/IPCGAttributeAccessor.h | |
bool Set
(
const T& InValue, |
Set a value to the accessor for a given type. | Metadata/Accessors/IPCGAttributeAccessor.h | |
bool SetRange
(
TArrayView< const FSoftObjectPath > InValues, |
|||
bool SetRange
(
TArrayView< const FName > InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRange
(
TArrayView< const bool > InValues, |
|||
bool SetRange
(
TArrayView< const FRotator > InValues, |
|||
bool SetRange
(
TArrayView< const FRotator > InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRange
(
TArrayView< const FString > InValues, |
|||
bool SetRange
(
TArrayView< const FTransform > InValues, |
|||
bool SetRange
(
TArrayView< const FName > InValues, |
|||
bool SetRange
(
TArrayView< const bool > InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRange
(
TArrayView< const FQuat > InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRange
(
TArrayView< const FTransform > InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRange
(
TArrayView< const int32 > InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRange
(
TArrayView< const FVector4 > InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRange
(
TArrayView< const FVector > InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRange
(
TArrayView< const FVector2D > InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRange
(
TArrayView< const double > InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRange
(
TArrayView< const float > InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRange
(
TArrayView< const int64 > InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRange
(
TArrayView< const FQuat > InValues, |
|||
bool SetRange
(
TArrayView< const FSoftClassPath > InValues, |
|||
bool SetRange
(
TArrayView< const FString > InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRange
(
TArrayView< const FVector4 > InValues, |
|||
bool SetRange
(
TArrayView< const FSoftClassPath > InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRange
(
TArrayView< const FVector2D > InValues, |
|||
bool SetRange
(
TArrayView< const double > InValues, |
|||
bool SetRange
(
TArrayView< const float > InValues, |
|||
bool SetRange
(
TArrayView< const int64 > InValues, |
|||
bool SetRange
(
TArrayView< const int32 > InValues, |
|||
bool SetRange
(
TArrayView< const T > InValues, |
Set a range of values to the accessor for a given type. | Metadata/Accessors/IPCGAttributeAccessor.h | |
bool SetRange
(
TArrayView< const FVector > InValues, |
|||
bool SetRange
(
TArrayView< const FSoftObjectPath > InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetRangebool
(
TArrayView< bool >& OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRangedouble
(
TArrayView< double >& OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRangefloat
(
TArrayView< float >& OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRangeFName
(
TArrayView< FName >& OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRangeFQuat
(
TArrayView< FQuat >& OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRangeFRotator
(
TArrayView< FRotator >& OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRangeFSoftClassPath
(
TArrayView< FSoftClassPath >& OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRangeFSoftObjectPath
(
TArrayView< FSoftObjectPath >& OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRangeFString
(
TArrayView< FString >& OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRangeFTransform
(
TArrayView< FTransform >& OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRangeFVector
(
TArrayView< FVector >& OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRangeFVector2D
(
TArrayView< FVector2D >& OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRangeFVector4
(
TArrayView< FVector4 >& OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRangeint32
(
TArrayView< int32 >& OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool GetRangeint64
(
TArrayView< int64 >& OutValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRangebool
(
TArrayView< const bool >& InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRangedouble
(
TArrayView< const double >& InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRangefloat
(
TArrayView< const float >& InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRangeFName
(
TArrayView< const FName >& InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRangeFQuat
(
TArrayView< const FQuat >& InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRangeFRotator
(
TArrayView< const FRotator >& InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRangeFSoftClassPath
(
TArrayView< const FSoftClassPath >& InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRangeFSoftObjectPath
(
TArrayView< const FSoftObjectPath >& InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRangeFString
(
TArrayView< const FString >& InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRangeFTransform
(
TArrayView< const FTransform >& InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRangeFVector
(
TArrayView< const FVector >& InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRangeFVector2D
(
TArrayView< const FVector2D >& InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRangeFVector4
(
TArrayView< const FVector4 >& InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRangeint32
(
TArrayView< const int32 >& InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h | ||
bool SetRangeint64
(
TArrayView< const int64 >& InValues, |
Metadata/Accessors/IPCGAttributeAccessor.h |