class ARLineInfo
class ARLineInfo implements Parcelable
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
AR line information entity. Each endpoint supports embedded AR points (icons and text).
Supported since MSDK 5.20.1
Class Members:
method getId
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the unique identifier.
Supported since MSDK 5.20.1
Return:
| String | Unique identifier of the AR line. |
method getSource
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the source package name.
Supported since MSDK 5.20.1
Return:
| String | The package name of the creator. |
method getName
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the name.
Supported since MSDK 5.20.1
Return:
| String | The name of the AR line. |
method setName
void setName(String name)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the name.
Supported since MSDK 5.20.1
| String name | The name of the AR line. |
method getPoints
List<ARPointInfo> getPoints()
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the list of endpoints (each supporting embedded icons and text).
Supported since MSDK 5.20.1
Return:
| List<ARPointInfo> | The list of AR point information for each endpoint of the line segment. |
method setPoints
void setPoints(List<ARPointInfo> points)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the list of endpoints.
Supported since MSDK 5.20.1
| List<ARPointInfo> points | The list of AR point information for each endpoint of the line segment. |
method getStrokeInfo
ARStrokeInfo getStrokeInfo()
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the stroke configuration.
Supported since MSDK 5.20.1
Return:
| ARStrokeInfo | The stroke configuration of the line segment (color, width, dashed). |
method setStrokeInfo
void setStrokeInfo(ARStrokeInfo strokeInfo)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the stroke configuration.
Supported since MSDK 5.20.1
| ARStrokeInfo strokeInfo | The stroke configuration of the line segment (color, width, dashed). |
method isUseDepth
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get whether depth testing is enabled.
Supported since MSDK 5.20.1
Return:
| boolean | Whether depth testing is enabled. |
method setUseDepth
void setUseDepth(boolean useDepth)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set whether to enable depth testing.
Supported since MSDK 5.20.1
| boolean useDepth | Whether to enable depth testing. |