This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
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
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

Unigine.Plugins.FMOD.FMODStudio Class

Notice
This set of functions is available when the FMOD plugin is loaded.

This class is intended to interact with the data driven projects created via FMOD Studio at run time.

FMODStudio Class

Members


Bank LoadBank ( string path ) #

Loads a bank at a given path.

Arguments

  • string path - Path to the bank file.

Return value

Bank object.

VCA GetVCA ( string path ) #

Auxiliary function, not to be used.

Arguments

  • string path

Bus GetBus ( string path ) #

Auxiliary function, not to be used.

Arguments

  • string path

EventInstance GetEvent ( string path ) #

Returns the EventInstance object at a given path.

Arguments

  • string path - Path of the EventInstance.

Return value

EventInstance object.

EventDescription GetEventDescription ( string path ) #

Auxiliary function, not to be used.

Arguments

  • string path

void SetListener3DAttributes ( int listener, vec3 position, vec3 up, vec3 forward, vec3 velocity ) #

Sets the 3D attributes of the listener. Vectors must be provided in the correct handedness.

Arguments

  • int listener - Listener index.
  • vec3 position - Position in world space used for panning and attenuation.
  • vec3 up - Upwards orientation, must be of unit length (1.0) and perpendicular to forward.
  • vec3 forward - Forwards orientation, must be of unit length (1.0) and perpendicular to up.
  • vec3 velocity - Velocity in world space used for doppler.

void GetListener3DAttributes ( int listener, out Vec3 position, out Vec3 up, out Vec3 forward, out Vec3 velocity ) #

Returns the 3D attributes of the listener.

Arguments

  • int listener - Listener index.
  • out Vec3 position - Position in world space.
  • out Vec3 up - Upwards orientation.
  • out Vec3 forward - Forwards orientation.
  • out Vec3 velocity - Velocity in world space.

void SetListenerVelocity ( vec3 velocity ) #

Sets the velocity of the listener.

Arguments

  • vec3 velocity - Velocity in world space.

void SetListenerTransform ( mat4 transform ) #

Sets the transformation matrix of the listener. Currently the listener only works with the standard camera.

Arguments

  • mat4 transform - Transformation matrix.

void SetParentForListener ( Node parent ) #

Sets a parent node for the listener.

Arguments

  • Node parent - Node to be set as a parent.

void UseStudioLiveUpdateFlag ( ) #

Enables live update.

void UseStudioSyncUpdateFlag ( ) #

Disables asynchronous processing and perform all processing on the calling thread instead.

void UseStudioLoadFromUpdateFlag ( ) #

No additional threads are created for bank and resource loading.

void UseCoreStreamFromUpdateFlag ( ) #

No stream thread is created internally. Mainly used with non-realtime outputs.

void Update ( ) #

Updates the FMOD system.

void InitStudio ( ) #

Studio initialization.

Bank GetBank ( int id ) #

Auxiliary function, not to be used.

Arguments

  • int id

EventDescription GetEventDescription ( int id ) #

Auxiliary function, not to be used.

Arguments

  • int id

Bus GetBus ( int id ) #

Auxiliary function, not to be used.

Arguments

  • int id

VCA GetVCA ( int id ) #

Auxiliary function, not to be used.

Arguments

  • int id

int GetBankCount ( ) #

Returns the number of loaded banks.

Return value

Number of banks.

int GetEventDescriptionCount ( ) #

Returns the number of event descriptions.

Return value

Event description count.

int GetBusCount ( ) #

Returns the number of buses.

Return value

Number of buses.

int GetVCACount ( ) #

Returns the number of VCAs.

Return value

VCA count.

BufferUsage GetBufferUsage ( ) #

Returns buffer usage information.

Return value

Buffer usage information.

void ResetBufferUsage ( ) #

Resets memory buffer usage statistics.

CPUUsageTotal GetCPUUsageTotal ( ) #

Returns the total amount of CPU used.

Return value

Total CPU usage.

void GetMemoryUsage ( out int exclusive, out int inclusive, out int sample_data ) #

Returns memory usage statistics.

Arguments

  • out int exclusive - Size of memory belonging to the bus or event instance.
  • out int inclusive - Size of memory belonging exclusively to the bus or event plus the inclusive memory sizes of all buses and event instances which route into it.
  • out int sample_data - Size of shared sample memory referenced by the bus or event instance, inclusive of all sample memory referenced by all buses and event instances which route into it.

void Release ( ) #

Shuts down and frees the Studio System object.

void ReleaseBuses ( ) #

Releases bus objects.

void ReleaseVCAs ( ) #

Releases VCA objects.

void ReleaseEventDescriptions ( ) #

Releases event description objects.

void ReleaseBanks ( ) #

Releases bank objects.

void UseChannelsCount ( int count ) #

Updates the maximum number of Channels (both virtual and real) to be used in FMOD system.

Arguments

  • int count - Number of Channels.

bool UnloadBank ( string path ) #

Arguments

  • string path
Last update: 2022-12-14
Build: ()