Interface PanoCircleMeshInterface

地面提示点位接口

点位状态

  1. 默认状态: 无任何操作的情况
  2. 高亮状态: 高亮,认为是合适的下一个点位,或者设备选中了某个点位
  3. 进度状态: 点位加载中,存在进度的情况
  4. 加载状态: 点位加载中,不存在进度的情况
  5. 不可用状态:点位不可用,存在点位,但是点位是个摆设
  6. 点击动画: 点位被选择,触发全景图切换
  7. 透明度改变: 一般会处理为近的点位透明度高,远的点位透明度低
interface PanoCircleMeshInterface {
    current: boolean;
    disabled: boolean;
    hitTestMesh?: Mesh<BufferGeometry | Geometry, 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

Properties

current: boolean

当前高亮

disabled: boolean
hitTestMesh?: Mesh<BufferGeometry | Geometry, Material | Material[]>
loading: boolean
needsRender: boolean
opacity: number
progress: number

Methods

  • Returns void

  • 是否当前高亮

    Parameters

    • current: boolean

    Returns void

  • Parameters

    • disabled: boolean

    Returns void

  • Parameters

    • loading: boolean

    Returns void

  • Parameters

    • opacity: number

    Returns void

  • Parameters

    • progress: number

    Returns void

  • 点击交互

    Returns Promise<void>

  • Parameters

    • time: number
    • deltaTime: number

    Returns void