Skip to main content
Skip to main content

getShallowWaterSimulationFakeExtraDepth

getShallowWaterSimulationFakeExtraDepth

Description

Gets the fake extra terrain height (for terrain under the water) that is used in the simulation, in order to make the water deeper than it really is.

Definition

getShallowWaterSimulationFakeExtraDepth(entityId shallowWaterSimulation)

Arguments

entityIdshallowWaterSimulationsimulation/id of the shallow water sim to retrieve the texture from

Return Values

floatheightextra height added to the water under the rest level