Table of Contents

Class Water

Namespace
AlphaFramework.World.Positionables
Assembly
AlphaFramework.World.dll

A water plane spanning a certain part of the Terrain<TTemplate>.

public class Water : Positionable<Vector2>, ICloneable, IChangeNotify<Positionable<Vector2>>
Inheritance
Positionable<Vector2>
Water
Implements
Inherited Members
Extension Methods

Properties

EnginePosition

The position of origin for this water in the engine coordinate system.

[Browsable(false)]
public DoubleVector3 EnginePosition { get; }

Property Value

DoubleVector3

Remarks

World X = Engine +X
World Y = Engine -Z
World height = Engine +Y

Height

The height of the water above reference zero.

public float Height { get; set; }

Property Value

float

Size

The size of the area of the ITerrain this water plane spans.

public Vector2 Size { get; set; }

Property Value

Vector2

TraversableDepth

The maximum depth an EntityBase<TCoordinates, TTemplate> can walk into this water.

public float TraversableDepth { get; set; }

Property Value

float