AxisControl

三轴旋转组件

new YS.AxisControl(ys)

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

Methods

application()

模型应用

destroy()

销毁三轴坐标系

reset()

模型复位

transform(model)

出现三轴坐标系
Name Type Description
model I3d model|lodscene Model|LodScene对象

visible(isShow)

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

Events

transformEndEvent

模型平移旋转拖动结速事件
Name Type Description
model I3d 当前操作的对象

transformEvent

模型平移旋转事件
Name Type Description
model I3d 当前操作的对象