Class Marker3D

3d的html的标记

Hierarchy

  • Object3D
    • Marker3D

Constructors

Properties

_occlusion: boolean
_opacity: string
_options: Marker3dOptions
_originalTabIndex?: string
_popup?: Popup2D
app: App
css3dObject: CSS3DObject | CSS3DSprite
isMarker3D: boolean = true
maskMesh: Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap> | Sprite<Object3DEventMap>
pixelHeight: number = 0
pixelWidth: number = 0
signal: {
    click: Signal;
    elementSizeReady: Signal;
    occlusion: Signal;
    onAdd: Signal;
    onRemove: Signal;
} = ...

Type declaration

Methods

  • Parameters

    • e: KeyboardEvent

    Returns void

  • 增加至应用中

    Parameters

    • app: App | Object3D<Object3DEventMap> | Entity
    • Optional curApp: App

    Returns void

  • Returns HTMLElement

  • 得到透明度

    Returns number

  • 获取位置

    Returns Vector3

  • Returns void

  • Returns boolean

  • Returns boolean

  • 移除

    Parameters

    • Rest ...object: Object3D<Object3DEventMap>[]

    Returns this

  • 设置动画

    Parameters

    • animationType: "" | "MAP_ANIMATION_NONE" | "MAP_ANIMATION_BOUNCE" | "MAP_ANIMATION_DROP"

      MAP_ANIMATION_NONE 无动画 MAP_ANIMATION_BOUNCE 弹跳 MAP_ANIMATION_DROP 坠落

    Returns void

  • 设置光标

    Parameters

    • cur: string

      光标名称

    Returns void

  • 设置透明度

    Parameters

    • opacity: string | number

    Returns void

  • 设置位置

    Parameters

    • pos: number | [number, number, number] | Vector3
    • Optional y: number
    • Optional z: number

    Returns void

  • Returns void

  • 更新弹出框信息窗口位置

    Returns void

  • Parameters

    • Optional w: number
    • Optional h: number

    Returns void