USplineMeshComponent::AllocateStaticLightingMesh

Allocates an implementation of [FStaticLightingMesh](API\Runtime\Engine\FStaticLightingMesh) that will handle static lighting for this component

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UStaticMeshComponent::AllocateStaticLightingMesh()

USplineMeshComponent::AllocateStaticLightingMesh()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SplineMeshComponent.h

Include

#include "Components/SplineMeshComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/SplineMeshComponent.cpp

Syntax

virtual FStaticMeshStaticLightingMesh * AllocateStaticLightingMesh
(
    int32 LODIndex,
    const TArray< ULightComponent * > & InRelevantLights
)

Remarks

Allocates an implementation of FStaticLightingMesh that will handle static lighting for this component