TDynamicMeshVectorOverlay

[TDynamicMeshVectorOverlay](API\Runtime\GeometryCore\DynamicMesh\TDynamicMeshVectorOverlay) is an convenient extension of [TDynamicMeshOverlay](API\Runtime\GeometryCore\DynamicMesh\TDynamicMeshOverlay) that adds a specific N-element Vector type to the template, and adds accessor functions that convert between that N-element vector type and the N-element arrays used by [TDynamicMeshOverlay](API\Runtime\GeometryCore\DynamicMesh\TDynamicMeshOverlay).

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

TDynamicMeshOverlay

TDynamicMeshVectorOverlay

References

Module

GeometryCore

Header

/Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMeshOverlay.h

Include

#include "DynamicMesh/DynamicMeshOverlay.h"

Syntax

template<typename RealType, int ElementSize, typename VectorType>
class TDynamicMeshVectorOverlay : public UE::Geometry::TDynamicMeshOverlay< RealType, ElementSize >

Remarks

TDynamicMeshVectorOverlay is an convenient extension of TDynamicMeshOverlay that adds a specific N-element Vector type to the template, and adds accessor functions that convert between that N-element vector type and the N-element arrays used by TDynamicMeshOverlay.

Constructors

Functions

Name Description

Public function

int

 

AppendElement

(
    const VectorType& Value
)

Append a new Element to the overlay

Public function

int

 

AppendElement

(
    const RealType* Value
)

Append a new Element to the overlay

Public function Const

VectorType

 

GetElement

(
    int ElementID
)

Get Element at a specific ID

Public function Const

void

 

GetElement

(
    int ElementID,
    VectorType& V
)

Get Element at a specific ID

Public function Const

VectorType

 

GetElementAtVertex

(
    int TriangleID,
    int VertexID
)

Get the Element value associated with a vertex of a triangle.

Public function Const

void

 

GetElementAtVertex

(
    int TriangleID,
    int VertexID,
    VectorType& V
)

Get the Element value associated with a vertex of a triangle.

Public function Const

void

 

GetTriElement

(
    int TriangleID,
    int32 TriVertexIndex,
    VectorType& Value
)

Get the Element associated with a vertex of a triangle

Public function Const

void

 

GetTriElements

(
    int TriangleID,
    VectorType& A,
    VectorType& B,
    VectorType& C
)

Get the three Elements associated with a triangle

Public function

void

 

SetElement

(
    int ElementID,
    const VectorType& Value
)

Set Element at a specific ID

Typedefs

Name

Description

BaseType