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.

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