BillboardPlacer class

Signature:

declare class BillboardPlacer extends Tool 

Extends: Tool

Constructors

ConstructorDescription
(constructor)(viewer, selector)Constructs a new instance of the BillboardPlacer class

Properties

PropertyModifiersDescription
hoveredColor
mode素材放置交互模式
selectedColor
selectMode素材选择模式

Methods

MethodDescription
_onMouseMove(mouse)
addBillboard(options)
getBillboardsByMaterial(material)
getBillboardsByTexture(texture)
onSceneChanged()
removeBillboard(ids)
setBillboardColor(billboard, color)设置颜色
setHoveringBillboards(billboards)
setSelectBillboards(billboards)
setVisibilityByIds(ids, visible)
updateBillboard(options)更新billboard样式