FMeshElement

Windows
MacOS
Linux

References

Module

EditableMesh

Header

/Engine/Plugins/Runtime/EditableMesh/Source/EditableMesh/Public/MeshElement.h

Include

#include "MeshElement.h"

Syntax

struct FMeshElement

Variables

Name Description

Public variable

TWeakObjectPtr<...

 

Component

The component that is referencing the mesh.

Public variable

FEditableMeshEl...

 

ElementAddress

The address of the mesh element

Public variable

double

 

LastHoverTime

Real time in seconds that we were last hovered over

Public variable

double

 

LastSelectTime

Real time in seconds that we were last selected

Constructors

Name Description

Public function

FMeshElement()

Default constructor that initializes everything to safe values

Public function

FMeshElement

(
    UPrimitiveComponent* InCompone...,
    const FEditableMeshSubMeshAddress&...,
    FVertexID InVertexID,
    double InLastHoverTime,
    double InLastSelectTime
)

Public function

FMeshElement

(
    UPrimitiveComponent* InCompone...,
    const FEditableMeshSubMeshAddress&...,
    FEdgeID InEdgeID,
    double InLastHoverTime,
    double InLastSelectTime
)

Public function

FMeshElement

(
    UPrimitiveComponent* InCompone...,
    const FEditableMeshSubMeshAddress&...,
    FPolygonID InPolygonID,
    double InLastHoverTime,
    double InLastSelectTime
)

Functions

Name Description

Public function Const

bool

 

IsElementIDValid

(
    const UEditableMesh* EditableM...
)

Checks to see that the mesh element actually exists in the mesh

Public function Const

bool

 

IsSameMeshElement

(
    const FMeshElement& Other
)

Checks to see if this mesh element points to the same element as another mesh element

Public function Const

bool

 

IsValidMeshElement()

Checks to see if we have something valid

Public function Const

FString

 

ToString()

Convert to a string

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss