krpano 教程 - 场景中加入声音
来源:互联网 发布:seo技术 编辑:程序博客网 时间:2024/05/21 10:29
1、引入声音控件在tour.xml加入导入插件代码<plugin name="soundinterface" url="%SWFPATH%/plugins/soundinterface.swf" alturl="%SWFPATH%/plugins/soundinterface.js" rootpath="" preload="true" keep="true" />或在在tour.xml调用sound.xml文件<include url="%SWFPATH%/sound/sound.xml" />2、加入调用声音代码一般声音playsound(bggsnd, '%SWFPATH%/sound/music1.mp3', 10);方向声音playsound3D(s1,music1.mp3, 0,0);暂停声音:pausesound(bggsnd);恢复声音:resumesound(bggsnd);暂停/恢复声音:pausesoundtoggle(bggsnd);停止声音:stopsound(s1);停止所有声音:stopallsounds();
免费全景教程资料下载:http://krpano.cc/teach
原创资料,转载请注明出处!
0 0
- krpano 教程 - 场景中加入声音
- krpano 教程 - 自动旋转和自动场景跳转的实现
- java中怎么加入声音
- 在程序中加入声音
- krpano 教程 - 标签中devices设备类型属性的说明
- krpano加载场景缩略图列表
- 在资源文件中加入声音资源
- 在java应用程序中加入声音
- 在告警项目中加入 告警声音
- MFC对话框中加入声音方法
- krpano 教程 - krpano脚本运算符
- krpano 教程 - krpano 根标签中文说明
- krpano 安装 新手教程
- krpano 教程 - 常用actions说明
- krpano 教程 - 修改右键菜单
- 在Visual C++资源文件中加入声音资源
- C++在资源文件中加入声音资源
- VC++程序中加入自定义声音(PlaySound函数用法)
- 索引-字符串
- Html域名跳转
- android openGL ES2 一切从绘制纹理开始
- hnu oj The Queen's English
- 中断#1:异步化
- krpano 教程 - 场景中加入声音
- Leetcode(Sort Colors )
- 递归算法
- CALL与JMP有什么区别
- SQLite3第三方库之FMDB
- 可爱兔斯基手机壁纸这样的卡通动漫手机壁纸喜欢吧
- Android之意图
- STL vector中的front方法(4)
- POJ-1258 Agri-Net