# Interface State

状态

#### Description

    可以通过 five.state 和 five.setState 来获取和设置。
    通过 state 设置后，five 会通过合适的动画运动来达到设置的位置。
    来迎合一些通过数据驱动的场景。

interface State {
distance: number;
fov: number;
latitude: number;
longitude: number;
mode: Mode;
offset: Vector3;
panoIndex: number;
workCode: string;
}

#### Hierarchy (View Summary)

- Pose
  - State

- Defined in lib/five/types/state.ts:12

##### Index

### Properties

distance
fov
latitude
longitude
mode
offset
panoIndex
workCode

## Properties

### distance

distance: number

相机距离

Inherited from Pose.distance

- Defined in lib/five/types/pose.ts:16

### fov

fov: number

相机可视角度（垂直）

Inherited from Pose.fov

- Defined in lib/five/types/pose.ts:12

### latitude

latitude: number

相机俯仰角

Inherited from Pose.latitude

- Defined in lib/five/types/pose.ts:10

### longitude

longitude: number

相机偏航角

Inherited from Pose.longitude

- Defined in lib/five/types/pose.ts:8

### mode

mode: Mode

模态

- Defined in lib/five/types/state.ts:14

### offset

offset: Vector3

相机位置

Inherited from Pose.offset

- Defined in lib/five/types/pose.ts:14

### panoIndex

panoIndex: number

观察点序号

- Defined in lib/five/types/state.ts:18

### workCode

workCode: string

workCode

- Defined in lib/five/types/state.ts:16