MeshDebugDraw::DrawTriCentroids

Draw mesh triangle centroids as points

Windows
MacOS
Linux

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/Drawing/MeshDebugDrawing.h

Include

#include "Drawing/MeshDebugDrawing.h"

Source

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Private/Drawing/MeshDebugDrawing.cpp

Syntax

namespace MeshDebugDraw
{
    void MeshDebugDraw::DrawTriCentroids
    (
        const FDynamicMesh3 * Mesh,
        const TArray< int > & Indices,
        float PointSize,
        FColor Color,
        FPrimitiveDrawInterface * PDI,
        const FTransform & Transform
    )
}

Remarks

Draw mesh triangle centroids as points

Parameters

Parameter

Description

Mesh

The Mesh that provides the vertices

Indices

the list of triangle indices

PointSize

the size of the points in screen space

Color

color of the lines

PDI

drawing interface

Transform

transform applied to the centroid positions

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