FInstancedStaticMeshSceneProxy::GetShadowMeshElement

Sets up a shadow [FMeshBatch](API\Runtime\Engine\FMeshBatch) for a specific LOD.

Windows
MacOS
Linux

Override Hierarchy

FStaticMeshSceneProxy::GetShadowMeshElement()

FInstancedStaticMeshSceneProxy::GetShadowMeshElement()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/InstancedStaticMesh.h

Include

#include "Engine/InstancedStaticMesh.h"

Source

/Engine/Source/Runtime/Engine/Private/InstancedStaticMesh.cpp

Syntax

virtual bool GetShadowMeshElement
(
    int32 LODIndex,
    int32 BatchIndex,
    uint8 InDepthPriorityGroup,
    FMeshBatch & OutMeshBatch,
    bool bDitheredLODTransition
) const

Remarks

Sets up a shadow FMeshBatch for a specific LOD.

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