ULightComponentBase::HasStaticLighting

Return True if a light's parameters as well as its position is static during gameplay, and can thus use static lighting.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

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

Include

#include "Components/LightComponentBase.h"

Source

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

Syntax

bool HasStaticLighting() const

Remarks

Return True if a light's parameters as well as its position is static during gameplay, and can thus use static lighting. A light with HasStaticLighting() == true will always have HasStaticShadowing() == true as well.