Class: WaterParameter

WaterParameter

new WaterParameter()

Set the water surface effect.

Members

arrowFixedSizeNumber

Set the flow arrow to a fixed size. Indicate the actual number of meters per arrow texture. The minimum value is 1.0. The default value is 20.0. only when waterParameter.flowDirectionDisplayMode == SuperMap3D.FlowDirectionDisplayMode.FIXED_SIZE_ARROW Time works

Since:
  • 12.1.0。
Example
waterLayer.waterParameter.flowDirectionDisplayMode = SuperMap3D.FlowDirectionDisplayMode.FIXED_SIZE_ARROW;
 waterLayer.waterParameter.arrowFixedSize = 20;

colorColor

Water surface color

flowDirectionArrowColorColor

The flow arrow represents the color of the arrow in the mode

Default Value:
Color.RED

flowDirectionDisplayModeFlowDirectionDisplayMode

Flow direction representation mode

Default Value:
flowDirectionDisplayMode.NONE

foamMaxDepthNumber

产生白浪最大深度。如果越大岸边产生白浪的范围就越大。取值[0, 20]

Default Value:
0.75

foamScaleNumber

白浪缩放系数 [0.0001,500.0].

noiseStrengthNumber

Intensity of wave noise on the water surface

Default Value:
0.6

reflowWaveScaleNumber

Wavelength scale of backflow water surface waves

Default Value:
1

refractionEnabledBoolean

Get or set the water surface refraction effect.

Default Value:
true

speedNumber

Uniform water surface velocity (m/s) If the data itself includes velocity, it will cover this value

Default Value:
1.2

waterbodySizeWaterbodySize

Water area range

Default Value:
WaterbodySize.MEDIUM

waveDirectionNumber

flow direction

Default Value:
180.0

waveScaleNumber

Water surface wavelength scale

Default Value:
80

waveStrengthNumber

Water flow intensity

Default Value:
WaveStrength.MILD