ArticyXImporter
ArticyXImporter for Unreal Engine
Loading...
Searching...
No Matches
ArticyImporterHelpers::FCompareArticyNodeXLocation Struct Reference

Comparator for sorting Articy nodes based on their X position. More...

#include <ArticyImporterHelpers.h>

Public Member Functions

FORCEINLINE bool operator() (const FArticyId &A, const FArticyId &B) const
 Comparison operator for sorting nodes based on position.

Detailed Description

Comparator for sorting Articy nodes based on their X position.

This helper struct provides a comparator for sorting two Articy nodes based on their X position. If two nodes have the same X position, they are further sorted by their Y position.

Member Function Documentation

◆ operator()()

FORCEINLINE bool ArticyImporterHelpers::FCompareArticyNodeXLocation::operator() ( const FArticyId & A,
const FArticyId & B ) const
inline

Comparison operator for sorting nodes based on position.

Parameters
AThe first Articy node ID to compare.
BThe second Articy node ID to compare.
Returns
True if node A is positioned before node B, false otherwise.

The documentation for this struct was generated from the following file: