Show / Hide Table of Contents

Class SharedRadarArea

Class representing a (mini)map radar area

Inheritance
Object
Element
PhysicalElement
SharedRadarArea
Inherited Members
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.Shared.Radar
Assembly: SlipeShared.dll
Syntax
public class SharedRadarArea : PhysicalElement

Constructors

| Improve this Doc View Source

SharedRadarArea(Vector2, Vector2)

Creats a white radar area from just a position and a dimension

Declaration
public SharedRadarArea(Vector2 position, Vector2 dimension)
Parameters
Type Name Description
Vector2 position
Vector2 dimension
| Improve this Doc View Source

SharedRadarArea(Vector2, Vector2, Color, Element)

Creates a radar area from the createRadarArea parameters

Declaration
public SharedRadarArea(Vector2 position, Vector2 dimensions, Color color, Element visibleTo = null)
Parameters
Type Name Description
Vector2 position
Vector2 dimensions
Color color
Element visibleTo

Properties

| Improve this Doc View Source

Color

Gets and sets the radar area color

Declaration
public Color Color { get; set; }
Property Value
Type Description
Color
| Improve this Doc View Source

Flashing

Gets or sets the flashing state of the radar area

Declaration
public bool Flashing { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

Size

Gets and sets the dimensions of the radar area

Declaration
public Vector2 Size { get; set; }
Property Value
Type Description
Vector2

Methods

| Improve this Doc View Source

IsInside(Vector2)

Checks if a certain 2D position is inside a radar area

Declaration
public bool IsInside(Vector2 position)
Parameters
Type Name Description
Vector2 position
Returns
Type Description
Boolean
| Improve this Doc View Source

IsInside(Vector3)

Checks if a certain 3D position is inside a radar area

Declaration
public bool IsInside(Vector3 position)
Parameters
Type Name Description
Vector3 position
Returns
Type Description
Boolean
  • Improve this Doc
  • View Source
Back to top Generated by DocFX