Class EntityBehaviorHideWaterSurface
- Namespace
- Vintagestory.GameContent
- Assembly
- VSSurvivalMod.dll
Hides water surface within shape. Useful for boats.
Uses the "hidewatersurface" code Open in GitHub
[DocumentAsJson]
public class EntityBehaviorHideWaterSurface : EntityBehavior
- Inheritance
-
EntityBehaviorHideWaterSurface
Examples
"behaviors": [
{
"code": "hidewatersurface",
"hideWaterElement": "ORIGIN/hideWater/*"
},
],
Fields
hideWaterElement (Required)
Specifies which shape element(s) to use for hiding water surface.
Can be a single element name or wildcard path (e.g. "ORIGIN/hideWater/*")
[DocumentAsJson("Required", "", false)]
private string hideWaterElement