FStaticMeshSceneProxy::SetMeshElementGeometrySource

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

Choose your operating system:

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 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.