FStaticMeshSceneProxy::SetMeshElementGeometrySource

Configures mesh batch vertex / index state. Returns the number of primitives used in the element.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/StaticMeshResources.h

Include

#include "StaticMeshResources.h"

Source

/Engine/Source/Runtime/Engine/Private/StaticMeshRender.cpp

Syntax

uint32 SetMeshElementGeometrySource
(
    int32 LODIndex,
    int32 ElementIndex,
    bool bWireframe,
    bool bRequiresAdjacencyInformation,
    bool bUseInversedIndices,
    bool bAllowPreCulledIndices,
    const FVertexFactory * VertexFactory,
    FMeshBatch & OutMeshElement
) const

Remarks

Configures mesh batch vertex / index state. Returns the number of primitives used in the element.

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