Navigation
API > API/Plugins > API/Plugins/PCG
Vector types.
| Name | VectorTraits |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/PCGMetadataAttributeTraits.h |
| Include Path | #include "Metadata/PCGMetadataAttributeTraits.h" |
Syntax
template<typename T>
struct VectorTraits :
public PCG::Private::DefaultOperationTraits< T > ,
public PCG::Private::DefaultStringTraits< T >
Inheritance Hierarchy
- DefaultOperationTraits → VectorTraits
- DefaultStringTraits → VectorTraits
Derived Classes
Enums
Public
| Name | Remarks |
|---|---|
| VectorTraits | |
| VectorTraits | |
| VectorTraits | |
| VectorTraits | |
| VectorTraits | |
| VectorTraits | |
| VectorTraits | |
| VectorTraits | |
| VectorTraits | |
| VectorTraits | |
| VectorTraits |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DistanceType | typename T::FReal | Metadata/PCGMetadataAttributeTraits.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static DistanceType Distance
(
const T& A, |
Metadata/PCGMetadataAttributeTraits.h | ||
static bool IsCloserTo
(
const T& A, |
Returns true if A is strictly closer to Target than B is. | Metadata/PCGMetadataAttributeTraits.h | |
static T WeightedSum
(
const T& A, |
Metadata/PCGMetadataAttributeTraits.h | ||
static T ZeroValue() |
Metadata/PCGMetadataAttributeTraits.h | ||
static T ZeroValueForWeightedSum() |
Metadata/PCGMetadataAttributeTraits.h |