SetWorldAttribute()
Syntax
SetWorldAttribute(Attribute, Value.f)Description
Set the specified attribute of the world.
Parameters
Attribute The attribute value to set. The following attributes are available: #PB_Shadow_FarDistance : set shadow far distance #PB_Shadow_Color : change the current shadow color #PB_SkyDome_Free : free the sky dome previously created by SkyDome() #PB_SkyDome_SkyColor : the color of the sky as RGBA() #PB_SkyDome_RiseColor : the sun rise color as RGBA() #PB_SkyDome_NbCloudLayers: set the number of cloud layer (value between X and X) #PB_SkyDome_CloudsHeight : set the height of the clouds in world coordinates #PB_Water_WaterColor : set the water color as RGBA(). #PB_Water_SkyColor : set the sky color as reflected in the water as RGBA() #PB_Water_WaveHeight : set the wave height (value between 0 to 3). #PB_Water_WaveSmall : set the wave riddle amplitude (value between 0 to 3). #PB_Water_Swell : set the swell intensity (value between 0 to 2). #PB_Water_Foam : set the foam intensity (value between 0 to 1). #PB_Water_Free : free the world water plane previously created with CreateWater()
Return value
Change the value of the specified attribute.
See Also
SetWorldAttribute()
Supported OS
All