Class SharedRadarArea
Class representing a (mini)map radar area
Inheritance
SharedRadarArea
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
|
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
Properties
|
Improve this Doc
View Source
Color
Gets and sets the radar area color
Declaration
public Color Color { get; set; }
Property Value
|
Improve this Doc
View Source
Flashing
Gets or sets the flashing state of the radar area
Declaration
public bool Flashing { get; set; }
Property Value
|
Improve this Doc
View Source
Size
Gets and sets the dimensions of the radar area
Declaration
public Vector2 Size { get; set; }
Property Value
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
|
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