RotateAroundPipeline

RotateAroundPipeline

绕轴旋转

Constructor

new RotateAroundPipeline(viewer, options)

绕轴旋转构造函数

Parameters:
Name Type Description
viewer Viewer

场景对象

options Object

可选参数

Properties
Name Type Attributes Default Description
tooltipPosOffset Array <optional>
[30,0]

tooltip的显示位置相对鼠标位置的偏移量 eg:[30,-30]表示向右偏移30像素,向上偏移30像素

selectPipeNodeTooltipText String <optional>

选择管点时的提示信息 有默认值 可自定义

selectPipelineTooltipText String <optional>

选择管线时的提示信息 有默认值 可自定义

Classes

RotateAroundPipeline

Methods

endEdit()

结束编辑

startEdit(callback)

开始编辑

Parameters:
Name Type Description
callback function

选择完成后执行的回调函数 编辑实体作为参数传递给回调函数