USunPositionFunctionLibrary

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

SunPosition

Header

/Engine/Plugins/Runtime/SunPosition/Source/SunPosition/Public/SunPosition.h

Include

#include "SunPosition.h"

Syntax

UCLASS()
class USunPositionFunctionLibrary : public UBlueprintFunctionLibrary

Functions

Name Description

Public function Static UFunction BlueprintCallable, Category

void

 

GetSunPosition

(
    float Latitude,
    float Longitude,
    float TimeZone,
    bool bIsDaylightSavingTime,
    int32 Year,
    int32 Month,
    int32 Day,
    int32 Hours,
    int32 Minutes,
    int32 Seconds,
    FSunPositionData& SunPositionData
)

Get the sun's position data based on position, date and time