AxisControlPoints

坐标集合三轴旋转组件

new YS.AxisControlPoints(ys)

坐标集合三轴旋转组件
Name Type Description
ys Object YouScene对象
Demo:

Methods

application()

应用

destroy()

销毁三轴坐标系

reset()

复位

transform(points, scale)

出现三轴坐标系
Name Type Description
points Array.<XYZ> 点的坐标数组
scale Number 三轴的放大系数

visible(isShow)

三轴坐标系显示或隐藏
Name Type Description
isShow Boolean 显示或隐藏

Events

transformEndEvent

坐标平移旋转拖动结速事件
Name Type Description
points Array.<XYZ> 平移旋转后的坐标数组

transformEvent

坐标平移旋转事件
Name Type Description
points Array.<XYZ> 平移旋转后的坐标数组

transformResetEvent

复位事件
Name Type Description
points Array.<XYZ> 复位的坐标数组