Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Metadata > API/Plugins/PCG/Metadata/VectorTraits
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/PCGMetadataAttributeTraits.h |
| Include | #include "Metadata/PCGMetadataAttributeTraits.h" |
static bool IsCloserTo
(
const T & A,
const T & B,
const T & Target
)
Remarks
Returns true if A is strictly closer to Target than B is. Implementation note: we don't use the standard distance-based traits to have a more efficient check here.