UiSound#

Fully qualified name: omni::audio::UiSound

class UiSound#

public container for a loaded editor UI sound.

These objects are returned from IUiAudio::createSound(). These objects can be copied as needed. Once destroyed, the sound itself will only be destroyed if the no other objects refer to it as well.

Public Functions

UiSound() = default#

Constructor: Creates a new UiSound object with the default construction.

UiSound(const UiSound &other) = default#

Constructor: Copies another existing UiSound object into this one.

Parameters:

other[in] The other object to copy state from.

virtual ~UiSound() = default#
virtual UiSound &operator=(const UiSound &other) = 0#

Assignment operator: copies another existing UiSound object into this one.

Parameters:

other[in] The other object to copy state from.