Module Core.Zone_Detection
Core - The ZONE_DETECTION class, defined by a zone name, a detection object and a radius.
Global(s)
Global ZONE_DETECTION |
The ZONE_DETECTION class defined by a zone name, a location and a radius.
|
#ZONE_DETECTION
ZONE_DETECTION
The ZONE_DETECTION class defined by a zone name, a location and a radius.
This class implements the inherited functions from Core.Zone#ZONE_BASE taking into account the own zone format and properties.
ZONE_DETECTION constructor
Type(s)
| Fields and Methods inherited from ZONE_DETECTION |
Description |
ZONE_DETECTION:BoundZone(Points, CountryID, UnBound) |
Bounds the zone with tires.
|
ZONE_DETECTION.Detection |
|
ZONE_DETECTION:FlareZone(FlareColor, Points, Azimuth, AddHeight) |
Flares the zone boundaries in a color.
|
ZONE_DETECTION:GetRadius() |
Returns the radius around the detected locations defining the combine zone.
|
ZONE_DETECTION:IsVec2InZone(Vec2) |
Returns if a location is within the zone.
|
ZONE_DETECTION:IsVec3InZone(Vec3) |
Returns if a point is within the zone.
|
ZONE_DETECTION:New(ZoneName, Detection, Radius) |
Constructor of #ZONE_DETECTION, taking the zone name, the zone location and a radius.
|
ZONE_DETECTION.Radius |
The radius of the zone.
|
ZONE_DETECTION:SetRadius(Radius) |
Sets the radius around the detected locations defining the combine zone.
|
ZONE_DETECTION:SmokeZone(SmokeColor, Points, AddHeight, AddOffSet, AngleOffset) |
Smokes the zone boundaries in a color.
|
ZONE_DETECTION.Vec2 |
The current location of the zone.
|
Field(s)
Function(s)
Bounds the zone with tires.
Defined in:
Parameters:
(optional) The amount of points in the circle. Default 360.
The country id of the tire objects, e.g. country.id.USA for blue or country.id.RUSSIA for red.
(Optional) If true the tyres will be destroyed.
Return value:
Flares the zone boundaries in a color.
Defined in:
Parameters:
(optional) The amount of points in the circle.
(optional) Azimuth The azimuth of the flare.
(optional) The height to be added for the smoke.
Return value:
Returns the radius around the detected locations defining the combine zone.
Defined in:
Return value:
Returns if a location is within the zone.
Defined in:
Parameter:
Return value:
true if the location is within the zone.
Returns if a point is within the zone.
Defined in:
Parameter:
Return value:
true if the point is within the zone.
Constructor of #ZONE_DETECTION, taking the zone name, the zone location and a radius.
Defined in:
Parameters:
The detection object defining the locations of the central detections.
The radius around the detections defining the combined zone.
Return value:
Sets the radius around the detected locations defining the combine zone.
Defined in:
Parameter:
Return value:
Smokes the zone boundaries in a color.
Defined in:
Parameters:
(optional) The amount of points in the circle.
(optional) The height to be added for the smoke.
(optional) The angle to be added for the smoking start position.
Return value: