UStaticMeshComponent::HasValidSettingsForStaticLighting

Returns true if the component is static AND has the right static mesh setup to support lightmaps.

Windows
MacOS
Linux

Override Hierarchy

UPrimitiveComponent::HasValidSettingsForStaticLighting()

UStaticMeshComponent::HasValidSettingsForStaticLighting()

References

Module

Engine

Header

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

Include

#include "Components/StaticMeshComponent.h"

Source

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

Syntax

virtual bool HasValidSettingsForStaticLighting
(
    bool bOverlookInvalidComponents
) const

Remarks

Returns true if the component is static AND has the right static mesh setup to support lightmaps.

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