Show / Hide Table of Contents

Class Water

Class used to create bodies of water on the map

Inheritance
Object
Element
PhysicalElement
SharedWater
Water
Inherited Members
SharedWater.SetVertexPosition(Int32, Vector3)
SharedWater.GetVertexPosition(Int32)
PhysicalElement.Dimension
PhysicalElement.Interior
PhysicalElement.Frozen
PhysicalElement.Alpha
PhysicalElement.Health
PhysicalElement.Model
PhysicalElement.CollisionShape
PhysicalElement.CollisionsEnabled
PhysicalElement.LowLODElement
PhysicalElement.DoubleSided
PhysicalElement.IsInWater
PhysicalElement.IsLowLOD
PhysicalElement.Position
PhysicalElement.Rotation
PhysicalElement.QuaternionRotation
PhysicalElement.Matrix
PhysicalElement.ForwardVector
PhysicalElement.RightVector
PhysicalElement.UpVector
PhysicalElement.Velocity
PhysicalElement.AngularVelocity
PhysicalElement.AngularQuaternionVelocity
PhysicalElement.ToAttached
PhysicalElement.IsAttached
PhysicalElement.IsWithinCollisionShape(CollisionShape)
PhysicalElement.IsWithinMarker(SharedMarker)
PhysicalElement.AttachTo(PhysicalElement, Matrix4x4)
PhysicalElement.AttachTo(PhysicalElement, Vector3, Vector3)
PhysicalElement.AttachTo(PhysicalElement, Vector3, Quaternion)
PhysicalElement.AttachTo(PhysicalElement)
PhysicalElement.Detach()
PhysicalElement.Offset
PhysicalElement.GetWithinRange(Vector3, Single, String)
PhysicalElement.FaceElement(PhysicalElement)
PhysicalElement.OnClicked
PhysicalElement.OnModelChange
PhysicalElement.OnStartSync
PhysicalElement.OnStopSync
PhysicalElement.OnStreamIn
PhysicalElement.OnStreamOut
Element.element
Element.Root
Element.MTAElement
Element.Type
Element.ID
Element.Exists
Element.ChildCount
Element.Parent
Element.CallPropagationEnabled
Element.SetData(String, Object, Boolean)
Element.GetData(String, Boolean)
Element.TryGetData(String, Object, Boolean)
Element.GetData<T>(String, Boolean)
Element.TryGetData<T>(String, T, Boolean)
Element.Destroy()
Element.GetChild(Int32)
Element.GetChildren(String)
Element.GetByID(String, Int32)
Element.ListenForEvent(String, Boolean, String)
Element.HandleEvent(String, MtaElement, Object, Object, Object, Object, Object, Object, Object, Object)
Element.OnDestroy
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Slipe.Client.GameWorld
Assembly: SlipeClient.dll
Syntax
[DefaultElementClass(ElementType.Water)]
public class Water : SharedWater

Constructors

| Improve this Doc View Source

Water(Vector3, Vector3, Vector3, Boolean)

Creates a body of water from 3 corners. The order of the input vectors doesn't matter

Declaration
public Water(Vector3 corner1, Vector3 corner2, Vector3 corner3, bool shallow = false)
Parameters
Type Name Description
Vector3 corner1
Vector3 corner2
Vector3 corner3
Boolean shallow
| Improve this Doc View Source

Water(Vector3, Vector3, Vector3, Vector3, Boolean)

Creates a body of water from 4 corners. The order of the input vectors doesn't matter

Declaration
public Water(Vector3 corner1, Vector3 corner2, Vector3 corner3, Vector3 corner4, bool shallow = false)
Parameters
Type Name Description
Vector3 corner1
Vector3 corner2
Vector3 corner3
Vector3 corner4
Boolean shallow

Properties

| Improve this Doc View Source

Level

Get and set the water level of this water body

Declaration
public float Level { get; set; }
Property Value
Type Description
Single

Extension Methods

ElementExtensions.GetBoundingBox(PhysicalElement)
ElementExtensions.GetDistanceFromCentreOfMassToBaseOfModel(PhysicalElement)
ElementExtensions.GetRadius(PhysicalElement)
ElementExtensions.SetCollidableWith(PhysicalElement, PhysicalElement, Boolean)
ElementExtensions.IsCollidableWith(PhysicalElement, PhysicalElement)
ElementExtensions.IsLocal(PhysicalElement)
ElementExtensions.IsOnScreen(PhysicalElement)
ElementExtensions.SetStreamable(PhysicalElement, Boolean)
ElementExtensions.IsStreamable(PhysicalElement)
ElementExtensions.IsStreamedIn(PhysicalElement)
ElementExtensions.IsSyncer(PhysicalElement)
ElementExtensions.IsWaitingForGroundToLoad(PhysicalElement)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX