Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
optional
Objects have the following properties:
|
Members
-
pathColor : Color
-
path line color
-
pathType : WayPathType
-
path type
-
path line width
-
rotateOffset : MPoint3D
-
Offset of model rotation
-
scaneColor : Color
-
Scan cone color
-
Whether to display the path line
-
Whether to display the scan cone
-
Is it tangential?
-
wayPoints : AlgoSymbol
-
Path points
-
wayPoints : Array.<MPoint3D>
-
Path points
Methods
-
Create Animated Object Scan Effect Entities
Name Type Description options
Object Scan entity configuration items Name Type Description point
MPoint3D Position points length
Number Scan body length,in meter radius
Number Base radius of the scanned body,in meter rotate
MPoint3D Rotation angle of the scanned body, in degrees offsetRotate
MPoint3D Rotation offset angle of the scanned body,in degrees color
Color Color of the scanned body -
getCurrentPt() → MPoint3D
-
Get the current position of the path animation
Returns:
current location -
getGOAnimationType() → GOAnimationType
-
Get animation type
Returns:
Animation type -
Get the path line color
Returns:
Path line color -
getPathType() → WayPathType
-
Get the path line type
Returns:
Path line type -
Get the width of the path line
Returns:
Width of the path line -
getWayPoints() → Array.<MPoint3D>
-
Get array of path points for path animation
Returns:
Array of path points -
Remove animation scanning effects
-
Set the camera to follow
Name Type Description isFollow
Boolean Whether to follow followType
Number Follow angle distance
Number Distance to target height
Number Relative camera height Returns:
Is the setting successful? -
Set the path line color
Name Type Description color
Color path line color with raga -
Set the path line type
Name Type Description pathType
WayPathType Path line type -
Set the path line width
Name Type Description width
Number Path line width -
Set the animation scan effect color
Name Type Description color
Color Scan color -
Set visibility of animation scan effects
Name Type Description show
Boolean Scan display -
Set whether to display the animation path
Name Type Description value
Boolean Whether to show the path