CreateWater()
语法
CreateWater(#Camera, x, y, z, Transparency, Flags)概要
Creates a water plane at the given position. 'Transparency' adjust the whole water transparency, from 0 (fully opaque) to 255 (transparent). 'Flags' can be a combination of the following constants:#PB_World_WaterMediumQuality: medium quality (default). #PB_World_WaterLowQuality : low quality, which means less polygons (but faster rendering). #PB_World_WaterHighQuality : high quality, which means more polygons (but slower rendering). #PB_World_WaterCaustics : Enable the water caustics effects, which are small patterns created by the light on the water surface. #PB_World_WaterSmooth : Enable smooth wave transition. #PB_World_WaterFoam : Enable foam effect, which affect underwater objects when viewed out of the water plane. #PB_World_WaterSun : Enable sun reflection on water. To control the sun position and color, use Sun(). #PB_World_UnderWater : Activate an underwater effect, to have opaque underwater. #PB_World_WaterGodRays : Activate sun god rays rendering when being underwater. #PB_World_WaterSun has to be specified.
参阅
FreeWater()
已支持操作系统
所有