UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PointLight.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
7#include "Engine/Light.h"
8#include "PointLight.generated.h"
9
10UCLASS(ClassGroup=(Lights, PointLights), ComponentWrapperClass, MinimalAPI, meta=(ChildCanTick))
11class APointLight : public ALight
12{
14
15 UPROPERTY(BlueprintReadOnly, VisibleAnywhere, Category="Light", meta=(ExposeFunctionCategories="PointLight,Rendering|Lighting"))
16 TObjectPtr<class UPointLightComponent> PointLightComponent;
17
18 // BEGIN DEPRECATED (use component functions now in level script)
19 UFUNCTION(BlueprintCallable, Category="Rendering|Lighting", meta=(DeprecatedFunction))
20 ENGINE_API void SetRadius(float NewRadius);
21 UFUNCTION(BlueprintCallable, Category="Rendering|Lighting", meta=(DeprecatedFunction))
23 // END DEPRECATED
24
25#if WITH_EDITOR
26 //~ Begin AActor Interface.
27 virtual void EditorApplyScale(const FVector& DeltaScale, const FVector* PivotLocation, bool bAltDown, bool bShiftDown, bool bCtrlDown) override;
28 //~ End AActor Interface.
29#endif
30
31 //~ Begin UObject Interface.
32#if WITH_EDITOR
33 virtual void LoadedFromAnotherClass(const FName& OldClassName) override;
34#endif
35 //~ End UObject Interface.
36};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition NameTypes.h:617
Definition ObjectPtr.h:488