This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
基础
专业(SIM)
UnigineEditor
界面概述
资源工作流程
Version Control
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
统一的Unigine着色器语言 UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
创建内容
内容优化
材质
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

Sounds

C++ FMODCore#

UNIGINE integration with FMOD Core (before running this sample, please download FMOD x64 libraries from the official web-site: https://www.fmod.com/download).

Integrating Sample Into Your Project#

Integrating the FMODCore C++ sample into your project requires you to perform the following steps:

  1. Create a C++ (CMake) project with the FMOD Plugin support via SDK Browser.
  2. Copy the following files from the sample project to your project:

    • The FMODCore.cpp source file — to the source\ folder.
    • Files from the sample data\ folder — to the data\ folder.
  3. Copy the resources folder from the <Unigine SDK>\source\samples\common to the data folder of your project.
  4. Delete the resources.umount file from the project data folder.
  5. Edit the source/CMakeList.txt file of your project. Replace the following lines:

    Source code
    add_executable(${target}
    	${CMAKE_CURRENT_LIST_DIR}/AppEditorLogic.cpp
    	${CMAKE_CURRENT_LIST_DIR}/AppEditorLogic.h
    	${CMAKE_CURRENT_LIST_DIR}/AppSystemLogic.cpp
    	${CMAKE_CURRENT_LIST_DIR}/AppSystemLogic.h
    	${CMAKE_CURRENT_LIST_DIR}/AppWorldLogic.cpp
    	${CMAKE_CURRENT_LIST_DIR}/AppWorldLogic.h
    	${CMAKE_CURRENT_LIST_DIR}/main.cpp
    )

    with this:

    Source code
    add_executable(${target}
    	${CMAKE_CURRENT_LIST_DIR}/FMODCore.cpp
    )
  6. Add the FMOD libraries to the project bin folder according to the instructions.
  7. Open your project in MS Visual Studio. Check this tutorial for more details, if necessary.
  8. If necessary, click Project → CMake Cache → Delete Cache in the Main menu.
  9. Click Project → Configure to configure the project.
  10. Click Build → Build All to build the project.
  11. Run your project with the FMOD plugin — specify it as an argument of the extern_plugin command line option on the application start-up.

SDK Path: <SDK_INSTALLATION>source\samples\3rdparty\FMODCore

C++ FMODStudio#

UNIGINE integration with FMOD Studio (before running this sample, please download FMOD x64 libraries from the official web-site: https://www.fmod.com/download).

Integrating Sample Into Your Project#

Integrating the FMODStudio C++ sample into your project requires you to perform the following steps:

  1. Create a C++ (CMake) project with the FMOD Plugin support via SDK Browser.
  2. Copy the following files from the sample project to your project:

    • The FMODStudio.cpp source file — to the source\ folder.
    • Files from the sample data\ folder — to the data\ folder.
  3. Copy the resources folder from the <Unigine SDK>\source\samples\common to the data folder of your project.
  4. Delete the resources.umount file from the project data folder.
  5. Edit the source/CMakeList.txt file of your project. Replace the following lines:

    Source code
    add_executable(${target}
    	${CMAKE_CURRENT_LIST_DIR}/AppEditorLogic.cpp
    	${CMAKE_CURRENT_LIST_DIR}/AppEditorLogic.h
    	${CMAKE_CURRENT_LIST_DIR}/AppSystemLogic.cpp
    	${CMAKE_CURRENT_LIST_DIR}/AppSystemLogic.h
    	${CMAKE_CURRENT_LIST_DIR}/AppWorldLogic.cpp
    	${CMAKE_CURRENT_LIST_DIR}/AppWorldLogic.h
    	${CMAKE_CURRENT_LIST_DIR}/main.cpp
    )

    with this:

    Source code
    add_executable(${target}
    	${CMAKE_CURRENT_LIST_DIR}/FMODStudio.cpp
    )
  6. Add the FMOD libraries to the project bin folder according to the instructions.
  7. Open your project in MS Visual Studio. Check this tutorial for more details, if necessary.
  8. If necessary, click Project → CMake Cache → Delete Cache in the Main menu.
  9. Click Project → Configure to configure the project.
  10. Click Build → Build All to build the project.
  11. Run your project with the FMOD plugin — specify it as an argument of the extern_plugin command line option on the application start-up.

SDK Path: <SDK_INSTALLATION>source\samples\3rdparty\FMODStudio

C# FMODCore#

UNIGINE integration with FMOD Core (before running this sample, please download FMOD x64 libraries from the official web-site: https://www.fmod.com/download).


SDK Path: <SDK_INSTALLATION>source\csharp\samples\3rdparty\FMODCore

C# FMODStudio#

UNIGINE integration with FMOD Studio (before running this sample, please download FMOD x64 libraries from the official web-site: https://www.fmod.com/download).


SDK Path: <SDK_INSTALLATION>source\csharp\samples\3rdparty\FMODStudio
Last update: 2024-08-16
Build: ()