Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Metadata
Inheritance Hierarchy
- DefaultOperationTraits
- DefaultStringTraits
- VectorTraits
- MetadataTraits< FVector >
- MetadataTraits< FVector2D >
- MetadataTraits< FVector4 >
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/PCGMetadataAttributeTraits.h |
| Include | #include "Metadata/PCGMetadataAttributeTraits.h" |
Syntax
template<typename T>
struct VectorTraits :
public PCG::Private::DefaultOperationTraits< T > ,
public PCG::Private::DefaultStringTraits< T >
Remarks
Vector types.
Functions
| Type | Name | Description | |
|---|---|---|---|
| DistanceType | Distance
(
const T& A, |
||
| bool | IsCloserTo
(
const T& A, |
Returns true if A is strictly closer to Target than B is. | |
| T | WeightedSum
(
const T& A, |
||
| T | ZeroValue () |
||
| T |
Enums
Typedefs
| Name | Description |
|---|---|
| DistanceType |