Navigation
API > API/Runtime > API/Runtime/Engine
| Name | ASpotLight |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/SpotLight.h |
| Include Path | #include "Engine/SpotLight.h" |
Syntax
UCLASS (ClassGroup=(Lights, SpotLights), MinimalAPI, ComponentWrapperClass, Meta=(ChildCanTick))
class ASpotLight : public ALight
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → ALight → ASpotLight
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ASpotLight
(
const FObjectInitializer& ObjectInitializer |
Engine/SpotLight.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SpotLightComponent | TObjectPtr< class USpotLightComponent > | Engine/SpotLight.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ArrowComponent | TObjectPtr< class UArrowComponent > | Reference to editor arrow component visualization. | Engine/SpotLight.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UArrowComponent * GetArrowComponent() |
Returns ArrowComponent subobject | Engine/SpotLight.h | |
void SetInnerConeAngle
(
float NewInnerConeAngle |
BEGIN DEPRECATED (use component functions now in level script) | Engine/SpotLight.h |
|
void SetOuterConeAngle
(
float NewOuterConeAngle |
Engine/SpotLight.h |
|
Overridden from AActor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void EditorApplyScale
(
const FVector& DeltaScale, |
Disable this for now. | Engine/SpotLight.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void LoadedFromAnotherClass
(
const FName& OldClassName |
Engine/SpotLight.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Engine/SpotLight.h | ||
virtual void PostLoad() |
Engine/SpotLight.h |