ULightComponentBase::SetCastShadows

Sets whether this light casts shadows

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

void SetCastShadows
(
    bool bNewValue
)

Remarks

Sets whether this light casts shadows