Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UStaticMeshComponent
- UStaticMeshComponent::AllocateStaticLightingMesh()
- USplineMeshComponent::AllocateStaticLightingMesh()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/StaticMeshComponent.h |
| Include | #include "Components/StaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/StaticMeshLight.cpp |
virtual FStaticMeshStaticLightingMesh * AllocateStaticLightingMesh
(
int32 LODIndex,
const TArray < ULightComponent * > & InRelevantLights
)
Remarks
Allocates an implementation of FStaticLightingMesh that will handle static lighting for this component