Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGBasePointData
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TPCGPointNativeProperty< Property >::ValueRange GetValueRange
(
bool bAllocate |
Data/PCGBasePointData.h | ||
TPCGValueRange< T > GetValueRange
(
EPCGPointNativeProperties NativeProperty, |
Keeping for backward compatibility (prefer using enum template version) | Data/PCGBasePointData.h |
GetValueRange(bool)
| Name | GetValueRange |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGBasePointData.h |
| Include Path | #include "Data/PCGBasePointData.h" |
template<EPCGPointNativeProperties Property>
TPCGPointNativeProperty < Property >::ValueRange GetValueRange
(
bool bAllocate
)
GetValueRange(EPCGPointNativeProperties, bool)
Description
GetValueRange / GetConstValueRange / Get*ValueRange / GetConst*ValueRange
Returns a value range that can be iterated and read from / written to abstracting the underlying point data structure.
Calling SetNumPoints/AllocateProperties/FreeProperties can and will probably invalidate ranges so make sure that you do those operations first or that you get a new range after you do.
| Name | GetValueRange |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGBasePointData.h |
| Include Path | #include "Data/PCGBasePointData.h" |
template<typename T>
TPCGValueRange < T > GetValueRange
(
EPCGPointNativeProperties NativeProperty,
bool bAllocate
)
Parameters
| Name | Remarks |
|---|---|
| bAllocate | In the case where we return a non-const range by default the memory will be allocated but in some specific case we might not want to allocate (for SingleValue() ranges) |