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

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