| 包: | dji.v5.manager.intelligent.spotlight |
classSince MSDK 5.14.0
SpotLightTarget
聚焦功能的目标类。
描述:
Members
method
method
method
setTargetType
void setTargetType(TargetType targetType) |
设置聚焦功能的目标类型。
参数
| 名称 | 类型 | 说明 |
|---|---|---|
targetType | TargetType | 聚焦功能的目标类型。 |
method
method
getTargetIndex
Integer getTargetIndex() |
获取聚焦功能的目标索引。
返回值
| 类型 | 说明 |
|---|---|
Integer | 返回聚焦功能的目标索引。 |
method
method
setTargetIndex
void setTargetIndex(Integer targetIndex) |
设置聚焦功能的目标索引。
参数
| 名称 | 类型 | 说明 |
|---|---|---|
targetIndex | Integer | 聚焦功能的目标索引。 |
method
method
getTargetLocation
LocationCoordinate3D getTargetLocation() |
获取聚焦功能的目标位置。
返回值
| 类型 | 说明 |
|---|---|
LocationCoordinate3D | 返回聚焦功能的目标位置。 |
method
method
setTargetLocation
void setTargetLocation(LocationCoordinate3D targetLocation) |
设置聚焦功能的目标位置。
参数
| 名称 | 类型 | 说明 |
|---|---|---|
targetLocation | LocationCoordinate3D | 聚焦功能的目标位置。 |
method
method
method
setTargetRect
void setTargetRect(DoubleRect targetRect) |
设置聚焦功能的目标区域。
参数
| 名称 | 类型 | 说明 |
|---|---|---|
targetRect | DoubleRect | 聚焦功能的目标区域。 |