ULightComponentBase::HasStaticLighting

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

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.

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