Function _IrrSetSkyDomeColor

au3Irr2

au3Irr2 Function Reference

_IrrSetSkyDomeColor

Set the color of the verticies in the skydome.

#Include <au3Irrlicht2.au3>
_IrrSetSkyDomeColor($h_Dome, $i_HorizontalRed, $i_HorizontalGreen, $i_HorizontalBlue, $i_ZenithRed, $i_ZenithGreen, $i_ZenithBlue)

 

Parameters

$h_Dome [explanation]
$i_HorizontalRed Red color 0 - 255
$i_HorizontalGreen Green color 0 - 255
$i_HorizontalBlue Blue color 0 - 255
$i_ZenithRed Red color 0 - 255
$i_ZenithGreen Green color 0 - 255
$i_ZenithBlue Blue color 0 - 255

 

Return Value

Success: True
Failure: False

 

Remarks

Two colors are defined one for the horizon and another for the top of the sky dome, this simulates the type of coloring effects you see in the sky.
If you are using a full spherical skydome the horizontal color will be the color at the bottom of the skydome.

 

Related

_IrrSetSkyDomeColorPoint, _IrrSetSkyDomeColorBand, _IrrSAddSkyDome