# Interface PanoCircleMeshInterface

地面提示点位接口

点位状态

1. 默认状态: 无任何操作的情况
2. 高亮状态: 高亮，认为是合适的下一个点位，或者设备选中了某个点位
3. 进度状态: 点位加载中，存在进度的情况
4. 加载状态: 点位加载中，不存在进度的情况
5. 不可用状态：点位不可用，存在点位，但是点位是个摆设
6. 点击动画： 点位被选择，触发全景图切换
7. 透明度改变： 一般会处理为近的点位透明度高，远的点位透明度低

interface PanoCircleMeshInterface {
current: boolean;
disabled: boolean;
hitTestMesh?: Mesh<Geometry | BufferGeometry, Material | Material[]>;
loading: boolean;
needsRender: boolean;
opacity: number;
progress: number;
dispose(): void;
setCurrent(current: boolean): void;
setDisabled(disabled: boolean): void;
setLoading(loading: boolean): void;
setOpacity(opacity: number): void;
setProgress(progress: number): void;
tap?(): Promise<void>;
updateTime?(time: number, deltaTime: number): void;
}

#### Hierarchy

- Object3D
  - PanoCircleMeshInterface

#### Implemented by

- PanoCircleMesh
- PanoCircleMeshCustom
- PanoCircleMeshSolid

- Defined in lib/five/types/panoCircleMeshInterface.ts:15

##### Index

### Properties

current
disabled
hitTestMesh?
loading
needsRender
opacity
progress

### Methods

dispose
setCurrent
setDisabled
setLoading
setOpacity
setProgress
tap?
updateTime?

## Properties

### current

current: boolean

当前高亮

- Defined in lib/five/types/panoCircleMeshInterface.ts:24

### disabled

disabled: boolean

- Defined in lib/five/types/panoCircleMeshInterface.ts:36

### `Optional` hitTestMesh

hitTestMesh?: Mesh<Geometry | BufferGeometry, Material | Material[]>

- Defined in lib/five/types/panoCircleMeshInterface.ts:21

### loading

loading: boolean

- Defined in lib/five/types/panoCircleMeshInterface.ts:30

### needsRender

needsRender: boolean

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

### opacity

opacity: number

- Defined in lib/five/types/panoCircleMeshInterface.ts:48

### progress

progress: number

- Defined in lib/five/types/panoCircleMeshInterface.ts:42

## Methods

### dispose

- dispose(): void

  #### Returns void

  - Defined in lib/five/types/panoCircleMeshInterface.ts:60

### setCurrent

- setCurrent(current: boolean): void

  是否当前高亮

  #### Parameters

  - current: boolean

  #### Returns void

  - Defined in lib/five/types/panoCircleMeshInterface.ts:27

### setDisabled

- setDisabled(disabled: boolean): void

  #### Parameters

  - disabled: boolean

  #### Returns void

  - Defined in lib/five/types/panoCircleMeshInterface.ts:39

### setLoading

- setLoading(loading: boolean): void

  #### Parameters

  - loading: boolean

  #### Returns void

  - Defined in lib/five/types/panoCircleMeshInterface.ts:33

### setOpacity

- setOpacity(opacity: number): void

  #### Parameters

  - opacity: number

  #### Returns void

  - Defined in lib/five/types/panoCircleMeshInterface.ts:51

### setProgress

- setProgress(progress: number): void

  #### Parameters

  - progress: number

  #### Returns void

  - Defined in lib/five/types/panoCircleMeshInterface.ts:45

### `Optional` tap

- tap?(): Promise<void>

  点击交互

  #### Returns Promise<void>

  - Defined in lib/five/types/panoCircleMeshInterface.ts:57

### `Optional` updateTime

- updateTime?(time: number, deltaTime: number): void

  #### Parameters

  - time: number
  - deltaTime: number

  #### Returns void

  - Defined in lib/five/types/panoCircleMeshInterface.ts:54