class ARPolygonInfo
class ARPolygonInfo implements Parcelable
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
AR polygon face information entity. Supports cylinder extrusion. Each endpoint supports embedded AR points.
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 polygon. |
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 polygon. |
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 polygon. |
method getPoints
List<ARPointInfo> getPoints()
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the polygon endpoint list.
Supported since MSDK 5.20.1
Return:
| List<ARPointInfo> | The list of polygon endpoints (each supporting embedded icons and text). |
method setPoints
void setPoints(List<ARPointInfo> points)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the polygon endpoint list.
Supported since MSDK 5.20.1
method getExtrusionAnchor
OpenLocation getExtrusionAnchor()
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the extrusion anchor point.
Supported since MSDK 5.20.1
Return:
| OpenLocation | The reference anchor point for cylinder extrusion. |
method setExtrusionAnchor
void setExtrusionAnchor(OpenLocation extrusionAnchor)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the extrusion anchor point.
Supported since MSDK 5.20.1
| OpenLocation extrusionAnchor | The reference anchor point for cylinder extrusion. |
method getTopFace
ARPolygonFace getTopFace()
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the top face configuration.
Supported since MSDK 5.20.1
Return:
method setTopFace
void setTopFace(ARPolygonFace topFace)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the top face configuration.
Supported since MSDK 5.20.1
method getSideFace
ARPolygonFace getSideFace()
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the side face configuration.
Supported since MSDK 5.20.1
Return:
method setSideFace
void setSideFace(ARPolygonFace sideFace)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the side face configuration.
Supported since MSDK 5.20.1
method getBottomFace
ARPolygonFace getBottomFace()
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the bottom face configuration.
Supported since MSDK 5.20.1
Return:
method setBottomFace
void setBottomFace(ARPolygonFace bottomFace)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the bottom face configuration.
Supported since MSDK 5.20.1
method getFaceDistAlpha
ARDistAlpha getFaceDistAlpha()
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the distance-based alpha configuration for faces.
Supported since MSDK 5.20.1
Return:
| ARDistAlpha | The distance-based alpha configuration for faces. |
method setFaceDistAlpha
void setFaceDistAlpha(ARDistAlpha faceDistAlpha)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the distance-based alpha configuration for faces.
Supported since MSDK 5.20.1
| ARDistAlpha faceDistAlpha | The distance-based alpha configuration for faces. |
method getTopFaceStroke
ARFaceStroke getTopFaceStroke()
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the top face stroke configuration.
Supported since MSDK 5.20.1
Return:
method setTopFaceStroke
void setTopFaceStroke(ARFaceStroke topFaceStroke)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the top face stroke configuration.
Supported since MSDK 5.20.1
| ARFaceStroke topFaceStroke | The top face stroke configuration. |
method getSideFaceStroke
ARFaceStroke getSideFaceStroke()
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the side face stroke configuration.
Supported since MSDK 5.20.1
Return:
method setSideFaceStroke
void setSideFaceStroke(ARFaceStroke sideFaceStroke)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the side face stroke configuration.
Supported since MSDK 5.20.1
| ARFaceStroke sideFaceStroke | The side face stroke configuration. |
method getBottomFaceStroke
ARFaceStroke getBottomFaceStroke()
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the bottom face stroke configuration.
Supported since MSDK 5.20.1
Return:
method setBottomFaceStroke
void setBottomFaceStroke(ARFaceStroke bottomFaceStroke)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the bottom face stroke configuration.
Supported since MSDK 5.20.1
| ARFaceStroke bottomFaceStroke | The bottom face stroke configuration. |
method getFaceStrokeDistAlpha
ARDistAlpha getFaceStrokeDistAlpha()
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the distance-based alpha configuration for face strokes.
Supported since MSDK 5.20.1
Return:
| ARDistAlpha | The distance-based alpha configuration for face strokes. |
method setFaceStrokeDistAlpha
void setFaceStrokeDistAlpha(ARDistAlpha faceStrokeDistAlpha)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the distance-based alpha configuration for face strokes.
Supported since MSDK 5.20.1
| ARDistAlpha faceStrokeDistAlpha | The distance-based alpha configuration for face strokes. |
method isIs3dMesh
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get whether 3D mesh mode is enabled.
Supported since MSDK 5.20.1
Return:
| boolean | Whether 3D mesh mode is enabled. |
method setIs3dMesh
void setIs3dMesh(boolean is3dMesh)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set whether to enable 3D mesh mode.
Supported since MSDK 5.20.1
| boolean is3dMesh | Whether to enable 3D mesh mode. |