MeshDebugDraw::DrawNormals

Draw normals of mesh overlay as lines

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::DrawNormals
    (
        const FDynamicMeshNormalOverlay * Overlay,
        float Length,
        FColor Color,
        float Thickness,
        bool bScreenSpace,
        FPrimitiveDrawInterface * PDI,
        const FTransform & Transform
    )
}

Remarks

Draw normals of mesh overlay as lines

Parameters

Parameter

Description

Overlay

The overlay that provides the normals (and mesh positions)

Length

length of the lines in world space

Color

color of the lines

Thickness

thickness of the lines

bScreenSpace

is the thickness in pixel or world space

PDI

drawing interface

Transform

transform applied to the line endpoints

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