GetWorldAttribute()

Syntax

Result.f = GetWorldAttribute(Attribute)
Description
Get the specified attribute of the world.

Parameters

Attribute The attribute value to get. The following attributes are available:
  #PB_Shadow_FarDistance   : get shadow far distance.
  #PB_Shadow_Color         : get the current shadow color as RGBA().
  #PB_SkyDome_SkyColor     : get the color of the sky as RGBA().
  #PB_SkyDome_RiseColor    : get the sun rise color as RGBA().
  #PB_SkyDome_NbCloudLayers: get the number of cloud layer.
  #PB_SkyDome_CloudsHeight : get the height of the clouds in world unit.
  #PB_Water_WaterColor     : get the water color as RGBA().
  #PB_Water_SkyColor       : get the sky color as reflected in the water as RGBA().
  #PB_Water_WaveHeight     : get the wave height.
  #PB_Water_WaveSmall      : get the wave riddle amplitude. 
  #PB_Water_Swell          : get the water swell intensity.
  #PB_Water_Foam           : get the foam intensity.

Return value

Returns the value of the specified attribute.

See Also

SetWorldAttribute()

Supported OS

All

<- GetW() - Engine3D Index - GetX() ->