UE Plugin
BP_Sky_Sphere_Coala
Description
A Child of Unreal Engine's "BP_Sky_Sphere".
Here the sun, the moon, and the clouds are regulated.
The curve system was altered from -1 -1. to 0-24.
Important: The actor needs a reference to "DirectionLight".
Variables
Sun:
UseSunMesh:
Use a sun mesh or show the sun from "BP_Sky_Sphere_Coala". This is a material.
SunScale:
Set the size of the sun mesh.
DistanceOfSun:
Set the distance of the sun mesh.
Moon:
UseMoonMesh:
Use a moon mesh.
MoonScale:
Set the size of the moon mesh.
DistanceOfMoon:
Set the distance of the moon mesh
CoalaMoonStartPostion:
Set the start position of the moon. The moon is static.
Intern:
TempSunPostion:
Internal variable for the position of the sun.
SunCurvePos:
Internal variable for the curves in the 24 system.
TempMoonPostion:
Internal variable for the position of the moon.
MoonRotation:
Internal variable for the rotation of the moon.
SunRotation:
Internal variable for the rotation of the sun.
IgnorMoonUpdate:
Internal variable. Ignore the update of the moon. If set to true, the moon will be placed on rotation 0.
IgnorSunUpdate:
Internal variable. Ignore the update of the sun. If set to true, the sun will be placed on rotation 0.
HorizonFalloffFrom:
Start of the horizon.
HorizonFalloffTo:
End of the horizon.
Functions
ConstructionScript (default)
The ConstructionScript handles the scaling and the update of the sun/moon skysphere
Events
BeginPlay (default)
Sets scaling and settings.
Update Sun Direction (overwritten by parent)
Sets the sun/moon position in the 24 hour system.
UpdateSettings
Sets new settings in sun/moon position.
SetMoonPhase
Sets moon phase.
Input:
MoonPhase:MoonPhase
SetMoonOpacity
Sets moon opacity.
Input:
ParameterValue:Float