MoveFollowPipeline

MoveFollowPipeline

沿轴移动

Constructor

new MoveFollowPipeline(viewer, axisLength, axisWidth, options)

沿轴移动构造函数

Parameters:
Name Type Description
viewer Viewer

场景对象

axisLength Number

编辑器轴长

axisWidth Number

编辑器轴宽

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

MoveFollowPipeline

Methods

endEdit()

结束编辑

startEdit(callback)

开始编辑

Parameters:
Name Type Description
callback function

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