-
-
Add special effects to the scene.
Name |
Type |
Description |
scene |
scene
|
Scene |
- Inherited From:
-
-
Clone
Returns:
Return the cloned object.
-
-
Release resources.
- Inherited From:
-
-
Convert the JSON object to a special effect object.
Name |
Type |
Description |
jsonObj |
Object
|
|
-
-
Get the dashed line length (in pixels).
Returns:
Dashed line length.
-
getDashPattern() → Number
-
Get the pattern template of the dashed line.
Returns:
Pattern template of the dashed line
-
-
Get the offset of the end point relative to the size of the start model itself.
Returns:
Offset.
- Inherited From:
-
-
Get the UUID of the end geographic entity.
Returns:
Entity UUID.
- Inherited From:
-
-
Get the color of the gaps between the dashes of a dashed line.
Returns:
Color of gaps between the dashes of a dashed line.
-
-
Get the geographic entity bound to the special effect.
Returns:
Geographic entity.
- Inherited From:
-
-
Get the line width (in pixels).
Returns:
Line width.
-
-
Get the link type.
Returns:
Link type.
- Inherited From:
-
getMaxVisibleDistance() → Number
-
Get the maximum visible diatance. When the distance between the start and end position is less than this distance, the link is displayed.
Returns:
Maximum visible distance.
- Inherited From:
-
-
Special effect name.
Returns:
Special effect name.
- Inherited From:
-
-
Get the offset percentage relative to the entity´s size.
Returns:
The offset percentage in the X/Y/Z directions.
- Inherited From:
-
-
Get the signal line color.
Returns:
Signal line color.
-
-
Get the propagation speed.
Returns:
Propagation speed.
-
-
Get the offset percentage of the start point relative to the size of the start model itself.
Returns:
Offset.
- Inherited From:
-
-
Get the UUID of the start geographic entity.
Returns:
Entity UUID.
- Inherited From:
-
-
Get the special effect type.
Returns:
Special effect type.
- Inherited From:
-
-
Get the special effect UUID, which is the unique identifier.
Returns:
UUID
- Inherited From:
-
isChangeSizeFlowModel() → Boolean
-
Check if the special effects adjust with the model´s scaling.
Returns:
Whether to adjust with the model´s scaling.
- Inherited From:
-
-
Get the special effect visibility.
Returns:
Visibility
- Inherited From:
-
removeEffectFromScene(scene)
-
Remove the special effect from the scene.
Name |
Type |
Description |
scene |
scene
|
Scene |
- Inherited From:
-
setChangeSizeFlowModel(bChange)
-
Set whether the special effects adjust with the model´s scaling.
Name |
Type |
Description |
bChange |
Boolean
|
Whether to adjust with the model´s scaling. |
- Inherited From:
-
setDashLength(dashLength)
-
Set the dashed line length (in pixels).
Name |
Type |
Description |
dashLength |
Number
|
Dashed line length. |
-
setDashPattern(dashPattern)
-
Retrieve the dashed line's template by converting numbers to binary, coloring each bit position, where a '1' indicates fill and '0' indicates no fill.
Name |
Type |
Description |
dashPattern |
Number
|
Dashed line's template. |
-
-
Set the offset of the end point relative to the size of the start model itself.
Name |
Type |
Description |
pntOffset |
MPoint3D
|
Offset |
- Inherited From:
-
-
Set the UUID of the end geographic entity.
Name |
Type |
Description |
endUUID |
String
|
Entity UUID. |
- Inherited From:
-
-
Set the color of the gaps between the dashes of a dashed line.
Name |
Type |
Description |
color |
Color
|
Color of gaps between the dashes of a dashed line. |
-
-
Set the geographic entity bound to the special effect.
Name |
Type |
Description |
geoEntity |
GeoEntity
|
Geographic entity. |
- Inherited From:
-
setGeoEntityParameter(geoEntityParameter, linkGeoEntityUUID)
-
Set the special effect properties.
Name |
Type |
Description |
geoEntityParameter |
GeoEntityParameter
|
Geographic entity parameter class. |
linkGeoEntityUUID |
String
|
optional
Entity UUID. |
-
-
Set line width (in pixels).
Name |
Type |
Description |
lineWidth |
Number
|
Line width. |
-
setMaxVisibleDistance(dMaxDistance)
-
Set the maximum visible distance. When the distance between the start and end position is less than this distance, the link is displayed.
Name |
Type |
Description |
dMaxDistance |
Number
|
Maximum visible distance |
- Inherited From:
-
-
Special effect name.
Name |
Type |
Description |
name |
String
|
Name |
- Inherited From:
-
-
Set the offset percentage relative to the model´s size.
Name |
Type |
Description |
pntOffset |
MPoint3D
|
The offset percentage in the X/Y/Z directions. |
- Inherited From:
-
-
Set the signal line color.
Name |
Type |
Description |
color |
Color
|
Signal line color. |
-
-
Set the propagation speed.
Name |
Type |
Description |
speedV |
Number
|
Propagation speed. |
-
setStartOffset(pntOffset)
-
Set the offset of the start point relative to the size of the start model itself.
Name |
Type |
Description |
pntOffset |
MPoint3D
|
Offset |
- Inherited From:
-
-
Set the UUID of the start geographic entity.
Name |
Type |
Description |
startUUID |
String
|
Entity UUID |
- Inherited From:
-
-
Set the special effect visibility.
Name |
Type |
Description |
visible |
Boolean
|
Visibility. |
- Inherited From:
-
-
Convert a special effect object to a JSON object.
Returns:
JSON object