class ARDistAlpha
class ARDistAlpha implements Parcelable
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Configuration for AR face/stroke alpha varying with distance.
Supported since MSDK 5.20.1
Class Members:
method isEnable
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get whether the distance-based alpha effect is enabled.
Supported since MSDK 5.20.1
Return:
| boolean | Whether the distance-based alpha effect is enabled. |
method setEnable
void setEnable(boolean enable)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set whether to enable the distance-based alpha effect.
Supported since MSDK 5.20.1
| boolean enable | Whether to enable the distance-based alpha effect. |
method getMinDist
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the nearest distance (meters).
Supported since MSDK 5.20.1
Return:
| float | The nearest distance in meters. |
method setMinDist
void setMinDist(float minDist)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the nearest distance (meters).
Supported since MSDK 5.20.1
| float minDist | The nearest distance in meters. |
method getMinAlpha
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the alpha value at the nearest distance (0~1).
Supported since MSDK 5.20.1
Return:
| float | The alpha value at the nearest distance (0~1). |
method setMinAlpha
void setMinAlpha(float minAlpha)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the alpha value at the nearest distance (0~1).
Supported since MSDK 5.20.1
| float minAlpha | The alpha value at the nearest distance (0~1). |
method getMaxDist
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the farthest distance (meters).
Supported since MSDK 5.20.1
Return:
| float | The farthest distance in meters. |
method setMaxDist
void setMaxDist(float maxDist)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the farthest distance (meters).
Supported since MSDK 5.20.1
| float maxDist | The farthest distance in meters. |
method getMaxAlpha
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the alpha value at the farthest distance (0~1).
Supported since MSDK 5.20.1
Return:
| float | The alpha value at the farthest distance (0~1). |
method setMaxAlpha
void setMaxAlpha(float maxAlpha)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the alpha value at the farthest distance (0~1).
Supported since MSDK 5.20.1
| float maxAlpha | The alpha value at the farthest distance (0~1). |