Navigation
API > API/Plugins > API/Plugins/PCG
Templated accessor class for numeric properties. Will wrap around a numeric property. Do not instanciate it manually, use PCGAttributeAccessorHelpers::CreatePropertyAccessor. Only support integral and floating point types. Key supported: Generic object
| Name | FPCGNumericPropertyAccessor |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/Accessors/PCGPropertyAccessor.h |
| Include Path | #include "Metadata/Accessors/PCGPropertyAccessor.h" |
Syntax
template<typename T>
class FPCGNumericPropertyAccessor :
public IPCGAttributeAccessorT< FPCGNumericPropertyAccessor< T > > ,
private IPCGPropertyChain
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPCGNumericPropertyAccessor
(
const FNumericProperty* InProperty, |
Metadata/Accessors/PCGPropertyAccessor.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Super | IPCGAttributeAccessorT< FPCGNumericPropertyAccessor< T > > | Metadata/Accessors/PCGPropertyAccessor.h | |
| Type | T | Metadata/Accessors/PCGPropertyAccessor.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Property | const FNumericProperty * | Metadata/Accessors/PCGPropertyAccessor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetRangeImpl
(
TArrayView< T > OutValues, |
Metadata/Accessors/PCGPropertyAccessor.h | ||
bool SetRangeImpl
(
TArrayView< const T > InValues, |
Metadata/Accessors/PCGPropertyAccessor.h |