Function _IrrSetSkyDomeColorBand

au3Irr2

au3Irr2 Function Reference

_IrrSetSkyDomeColorBand

Creates a horizontal band of color in the skydome.

#Include <au3Irrlicht2.au3>
_IrrSetSkyDomeColorBand($h_Dome, $i_HorizontalRed, $i_HorizontalGreen, $i_HorizontalBlue, $i_BandVerticalPosition, $f_BandFade, $i_Additive)

 

Parameters

$h_Dome [explanation]
$i_HorizontalRed Red color 0 - 255
$i_HorizontalGreen Green color 0 - 255
$i_HorizontalBlue Blue color 0 - 255
$i_BandVerticalPosition Vertex at which you wish to create the band.
$f_BandFade Amount that the band is faded into the existing skydome color.
$i_Additive IRR_ON to add the color of the band to the existing color of the skydome or IRR_OFF to replace it.

 

Return Value

Success: True
Failure: False

 

Remarks

This is mainly useful for creating additional bands of color at the horizon,
where your sky is a graduation of blues and then in the morning you have a brighter golden band as the sun rises.

 

Related

_IrrSetSkyDomeColorPoint, _IrrSetSkyDomeColor, _IrrSAddSkyDome