FDynamicMeshBuilder::Draw

Draws the mesh to the given primitive draw interface.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/DynamicMeshBuilder.h

Include

#include "DynamicMeshBuilder.h"

Source

/Engine/Source/Runtime/Engine/Private/DynamicMeshBuilder.cpp

Syntax

void Draw
(
    FPrimitiveDrawInterface * PDI,
    const FMatrix & LocalToWorld,
    const FMaterialRenderProxy * MaterialRenderProxy,
    uint8 DepthPriorityGroup,
    bool bDisableBackfaceCulling,
    bool bReceivesDecals,
    const FHitProxyId HitProxyId
)

Remarks

Draws the mesh to the given primitive draw interface.

Parameters

Parameter

Description

PDI

The primitive draw interface to draw the mesh on.

LocalToWorld

The local to world transform to apply to the vertices of the mesh.

FMaterialRenderProxy

The material instance to render on the mesh.

DepthPriorityGroup

The depth priority group to render the mesh in.

HitProxyId

Hit proxy to use for this mesh. Use INDEX_NONE for no hit proxy.

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