UStaticMeshComponent::AllocateStaticLightingMesh

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

Windows
MacOS
Linux

Override Hierarchy

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

Syntax

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

Remarks

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

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