ADirectionalLight

Implements a directional light actor.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/DirectionalLight.h

Include

#include "Engine/DirectionalLight.h"

Syntax

class ADirectionalLight : public ALight

Remarks

Implements a directional light actor.

Constructors

Name Description

Public function

ADirectionalLight

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

UArrowCompon...

 

GetArrowComponent()

Returns ArrowComponent subobject

Public function Const

UDirectional...

 

GetComponent()

Returns SkyAtmosphereComponent subobject

Overridden from AActor

Name Description

Public function Virtual Const

bool

 

CanChangeIsSpatiallyLoadedFlag()

Returns true if this actor allows changing the spatially loaded flag.

Overridden from UObject

Name Description

Public function Virtual

void

 

LoadedFromAnotherClass

(
    const FName& OldClassName
)

Called when the object was loaded from another class via active class redirects.

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.