menu
Wwise
arrow_drop_down
Strata
arrow_drop_down
Solutions
arrow_drop_down
Apprendre
arrow_drop_down
Communauté
arrow_drop_down
Documentation
arrow_drop_down
Aide
arrow_drop_down
2024.1.4.8780
2023.1.12.8706
2022.1.18.8567
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
Wwise SDK 2018.1.11
|
info |
Note: This example requires Visual Studio 2017 with C# support and the NuGet package manager extension. As of version 1.2.5.36-beta of WampSharp, you will need to add |
To install dependencies, open the sample project <Wwise installation path>/SDK/samples/WwiseAuthoringAPI/cs/WaapiCS/WaapiCS.sln
in Visual Studio 2017. Install dependencies by right-clicking on the solution and selecting Restore NuGet Packages.
To select the startup object, right-click on the WaapiCS project in the Solution Explorer and click on Properties. Then select the Application tab and under the section labeled Startup object, select WaapiCS.CallWwise.
Locate the sample file <Wwise installation path>/SDK/samples/WwiseAuthoringAPI/cs/WaapiCS/CallWwise.cs
.
This file contains the following code, which allows you to connect to the Wwise Authoring API.
Build the solution (Ctrl+B) and run the sample using Visual Studio (F5).
The sample calls two methods: one to get general information from the Wwise Authoring Application and another to get the objects currently selected in the Application.
Observe messages printed in the output console. You should see something similar to:
Calling 'ak.wwise.core.getInfo' Calling 'ak.wwise.ui.getSelectedObjects' ak.wwise.core.getInfo: Hello Wwise v2017.1.0 ak.wwise.ui.getSelectedObjects: Got selected object data! ak.wwise.ui.getSelectedObjects: Got 1 object(s)! ak.wwise.ui.getSelectedObjects: The first selected object is 'New Sequence Container' ({03E8DC21-EB2F-4607-BFCC-25BCE69DFB27}) ak.wwise.ui.getSelectedObjects: Its parent is 'ParentA' ({FBB64B3C-711C-46E6-9BBC-B49511F08244})
info | Note: The information retrieved from Wwise, such as object IDs, will vary based on the project opened in the Wwise Authoring Application. If no selection exists, the following message will be displayed: ak.wwise.ui.getSelectedObjects: Select something and try again! |
Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !
Visitez notre page d'AideEnregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !
Partir du bon pied avec Wwise