FMeshDescriptionEditableTriangleMeshAdapter

Non-const version of the adapter, with non-const storage and setters TODO: try to be smarter about sharing code w/ the above const version

Windows
MacOS
Linux

References

Module

MeshConversion

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/MeshConversion/Public/MeshDescriptionAdapter.h

Include

#include "MeshDescriptionAdapter.h"

Syntax

struct FMeshDescriptionEditableTriangleMeshAdapter

Remarks

Non-const version of the adapter, with non-const storage and setters TODO: try to be smarter about sharing code w/ the above const version

Variables

Constructors

Functions

Name Description

Public function Const

FVector3f

 

GetNormal

(
    int32 IDValue
)

Public function Const

int32

 

GetShapeTimestamp()

Public function Const

FIndex3i

 

GetTriangle

(
    int32 IDValue
)

Public function Const

void

 

GetTriVertices

(
    int32 IDValue,
    FVector3d& V0,
    FVector3d& V1,
    FVector3d& V2
)

Public function Const

FVector3d

 

GetVertex

(
    int32 IDValue
)

Public function Const

bool

 

HasNormals()

Public function Const

bool

 

IsNormal

(
    int32 NID
)

Public function Const

bool

 

IsTriangle

(
    int32 TID
)

Public function Const

bool

 

IsVertex

(
    int32 VID
)

Public function Const

int32

 

MaxNormalID()

Public function Const

int32

 

MaxTriangleID()

ID and Count are the same for MeshDescription because it's compact.

Public function Const

int32

 

MaxVertexID()

Public function Const

int32

 

NormalCount()

Public function

void

 

SetNormal

(
    int32 IDValue,
    const FVector3f& Normal
)

Public function

void

 

SetVertex

(
    int32 IDValue,
    const FVector3d& NewPos
)

Public function Const

int32

 

TriangleCount()

Public function Const

int32

 

VertexCount()

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