UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FEdge Struct Reference

#include <Edge.h>

Public Member Functions

 FEdge ()=default
 
 FEdge (FVector V1, FVector V2)
 
bool operator== (const FEdge &E) const
 

Public Attributes

FVector Vertex [2]
 
int32 Count
 

Detailed Description

Implements an edge consisting of two vertices.

Constructor & Destructor Documentation

◆ FEdge() [1/2]

FEdge::FEdge ( )
default

Default constructor (no initialization).

◆ FEdge() [2/2]

FEdge::FEdge ( FVector  V1,
FVector  V2 
)
inline

Creates and initializes a new edge from two vertices.

Parameters
V1The first vertex.
V2The second vertex.

Member Function Documentation

◆ operator==()

bool FEdge::operator== ( const FEdge E) const
inline

Compares this edge with another.

Parameters
EThe other edge.
Returns
true if the two edges are identical, false otherwise.

Member Data Documentation

◆ Count

int32 FEdge::Count

Holds a temporary variable used when creating arrays of unique edges.

◆ Vertex

FVector FEdge::Vertex[2]

Holds the edge vertices.


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