Navigation
API > API/Plugins > API/Plugins/PCG
Templated accessor for any interp curve. It's important that the keys only have a single value, the struct that holds the spline curve, since the interp curve is basically an array. Keys supported: PCGSplineData, FPCGSplineStruct, FSplineCurves
| Name | FPCGInterpCurveAccessor |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/Accessors/PCGSplineAccessor.h |
| Include Path | #include "Metadata/Accessors/PCGSplineAccessor.h" |
Syntax
template<typename CurveType, EPCGInterpCurveAccessorTarget Target, std::enable_if_t< std::is_base_of_v< FInterpCurve < typename CurveType::ElementType >, CurveType >, int >>
class FPCGInterpCurveAccessor :
public IPCGAttributeAccessorT< FPCGInterpCurveAccessor< CurveType, EPCGInterpCurveAccessorTarget::Value > > ,
private IPCGPropertyChain
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPCGInterpCurveAccessor
(
const FStructProperty* InProperty, |
Metadata/Accessors/PCGSplineAccessor.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Super | IPCGAttributeAccessorT< FPCGInterpCurveAccessor< CurveType, Target > > | Metadata/Accessors/PCGSplineAccessor.h | |
| Type | std::conditional_t< Target==EPCGInterpCurveAccessorTarget::InterpMode, FPCGEnumPropertyAccessor::Type, typename CurveType::ElementType > | The underlying type is either the Curve element type or the same as the enum property accessor if the target is the InterpMode, as it is an enum below. | Metadata/Accessors/PCGSplineAccessor.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| TopPropertyStruct | const UStruct * | Metadata/Accessors/PCGSplineAccessor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetRangeImpl
(
TArrayView< Type > OutValues, |
Metadata/Accessors/PCGSplineAccessor.h | ||
bool SetRangeImpl
(
TArrayView< const Type > InValues, |
Metadata/Accessors/PCGSplineAccessor.h |