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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback