Class Water
A water element
Water element represent an arbitrary body of water, defined by a set of vertices.
Note that on the client water element vertex positions are rounded to the nearest whole number.
Assembly: SlipeServer.Server.dll
Syntax
public class Water : Element
Constructors
|
Edit this page
View Source
Water(IEnumerable<Vector3>)
Declaration
public Water(IEnumerable<Vector3> vertices)
Parameters
Properties
|
Edit this page
View Source
ElementType
The element type as per MTA's specifications. Multiple C# types can share the same MTA element type.
Declaration
public override ElementType ElementType { get; }
Property Value
Overrides
|
Edit this page
View Source
IsShallow
Declaration
public bool IsShallow { get; set; }
Property Value
|
Edit this page
View Source
Vertices
Declaration
public IEnumerable<Vector3> Vertices { get; set; }
Property Value
Methods
|
Edit this page
View Source
AssociateWith(MtaServer)
Declaration
public Water AssociateWith(MtaServer server)
Parameters
Returns
Extension Methods