FStaticMeshSceneProxy::GetCollisionMeshElement

Sets up a collision [FMeshBatch](API\Runtime\Engine\FMeshBatch) for a specific LOD and 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

virtual bool GetCollisionMeshElement
(
    int32 LODIndex,
    int32 BatchIndex,
    int32 ElementIndex,
    uint8 InDepthPriorityGroup,
    const FMaterialRenderProxy * RenderProxy,
    FMeshBatch & OutMeshBatch
) const

Remarks

Sets up a collision FMeshBatch for a specific LOD and 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