new CameraRoaming(camera [, opts])
相机漫游
Parameters:
| Name | Type | Argument | Description | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
camera |
Glodon.CIMCube.Camera | |||||||||||||||||||||||||||
opts |
Object |
<optional> |
模型漫游轨迹参数
Properties
|
Extends
- EventDispatcherSDK
Methods
-
dispose()
-
销毁实例,释放所有资源
-
goOn()
-
继续
-
pause()
-
暂停
-
play()
-
播放
-
setDuration(duration)
-
设置持续时间
Parameters:
Name Type Description durationNumber 持续时间 -
setLoopMode(loop)
-
设置是否循环
Parameters:
Name Type Description loopBoolean 是否循环 -
setPath(path)
-
设置路径
Parameters:
Name Type Description pathArray 路径 -
stop()
-
停止