ASpotLight

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/SpotLight.h

Include

#include "Engine/SpotLight.h"

Syntax

class ASpotLight : public ALight

Variables

Name Description

Public variable

TObjectPtr< cla...

 

SpotLightComponent

Constructors

Name Description

Public function

ASpotLight

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

UArrowCompon...

 

GetArrowComponent()

Returns ArrowComponent subobject

Public function

void

 

SetInnerConeAngle

(
    float NewInnerConeAngle
)

BEGIN DEPRECATED (use component functions now in level script)

Public function

void

 

SetOuterConeAngle

(
    float NewOuterConeAngle
)

Overridden from AActor

Name Description

Public function Virtual

void

 

EditorApplyScale

(
    const FVector& DeltaScale,
    const FVector* PivotLocation,
    bool bAltDown,
    bool bShiftDown,
    bool bCtrlDown
)

Disable this for now.

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.