Parameter radar, inherited from
PlotRadarBase
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The parameters required to initialize the radar:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
scene |
Scene | Current 3D scene |
Extends
Members
-
fillColor : Color
-
Fill color of envelope
- Inherited From:
- Default Value:
new MGIS_SuperMap3D.Color(1, 0, 0, 0.5)
-
The minimum distance to hide the envelope
- Inherited From:
-
Minimum distance to hide grid lines
- Inherited From:
-
Minimum distance to hide the scan lobe
- Inherited From:
-
Radar ID
- Inherited From:
- Default Value:
uuid
-
innerRadii : MPoint3D
-
Radar inner radius
-
Default Value:
MPoint3D(0,0,0)
-
Whether to show the fill envelope
- Inherited From:
- Default Value:
true
-
Whether to display gridlines
- Inherited From:
- Default Value:
true
-
Whether to display the scan lobe
- Inherited From:
- Default Value:
true
-
material : Color
-
Uniformly set the envelope and grid line colors, with the edge line transparency being twice the input value, capped at a maximum of 1
- Inherited From:
- Default Value:
new MGIS_SuperMap3D.Color(1, 0, 0, 0.5)
-
The maximum Angle of the horizontal direction of the radar, which determines whether the horizontal section of the radar is a circle or a sector
-
Default Value:
360
-
The maximum angle of the radar in the vertical direction
-
Default Value:
360
-
The minimum Angle of the horizontal direction of the radar, which determines whether the horizontal section of the radar is a circle or a sector
-
Default Value:
0
-
The minimum angle of the radar in the vertical direction
-
Default Value:
0
-
offset : MPoint3D
-
Radar position offset
- Inherited From:
- Default Value:
MPoint3D(0,0,0)
-
outlineColor : Color
-
Grid line color
- Inherited From:
- Default Value:
new MGIS_SuperMap3D.Color(1, 0, 0, 1)
-
outlineMaterial : Material
-
Grid line material,is mutually exclusive with grid line color, only one can be effective at a time.
- Inherited From:
- Default Value:
undefined
-
Grid line width of radar
- Inherited From:
- Default Value:
0.5
-
point : MPoint3D
-
Radar position point
- Inherited From:
- Default Value:
MPoint3D(0,0,0)
-
radii : MPoint3D
-
Radar external radius
-
Default Value:
MPoint3D(0,0,0)
-
rotate : MPoint3D
-
Radar rotation angle
- Inherited From:
- Default Value:
MPoint3D(0,0,0)
-
Radar rotation angle
- Inherited From:
- Default Value:
360
-
Radar scaling
- Inherited From:
- Default Value:
1
-
Whether to show
- Inherited From:
- Default Value:
true
-
Number of horizontal segmentation
- Inherited From:
- Default Value:
67
-
Number of vertical segmentation
- Inherited From:
- Default Value:
67
Methods
-
Add radar scan lobe
Name Type Description scan
PlotParameterRadarScan -
clone(result) → PlotParameterRadar
-
Clone.
Name Type Description result
PlotParameterRadar optional The source object to copy Returns:
The target object by copied -
Release resources
-
Get effect properties
Returns:
Effect properties- Inherited From:
-
getScanArray() → Array.<PlotParameterRadarScan>
-
Get array of radar scan lobes
Returns:
Array of radar scan lobes -
Delete all scan lobes
-
Deletes the scan lobe of the specified index
Name Type Description index
Number Returns:
Whether the deletion was successful -
Replace the designated scan lobe with a new scan lobe
Name Type Description scan
PlotParameterRadarScan index
Number Returns:
If successful, return true; otherwise, return false. -
setScanArray(scanArray) → Array.<PlotParameterRadarScan>
-
Set array of radar scan lobes
Name Type Description scanArray
Array.<PlotParameterRadarScan> Returns:
Array of radar scan lobes -
Effect object to Json object
Returns:
Json object- Inherited From:
-
Set effect properties (subclasses need to be overridden)
Name Type Description options
Object Objects have the following properties: Name Type Description point
MPoint3D optional Location point rotate
MPoint3D optional Rotation scale
Number optional Scale visible
Boolean optional Show/Hide - Inherited From: