The Flock  0.00.001
Public Member Functions | Properties | List of all members
AudioItem Class Reference

Audio item. More...

Inheritance diagram for AudioItem:
CoreObject IDebuggable

Public Member Functions

 AudioItem (AudioClip audioClip, float audioChanceRateInPercentage, float audioVolume, float audioVolumeMin, float audioPitch, float audioPitchMin)
 Initializes a new instance of the AudioItem class. More...
 
- Public Member Functions inherited from CoreObject
void logDebug (string message)
 
void logWarning (string message)
 
void logError (string message)
 

Properties

AudioClip audioClip [get]
 Gets the audio clip. More...
 
float audioChanceRateInPercentage [get]
 Gets the audio chance rate in percentage. More...
 
float audioVolume [get]
 Gets the audio volume. More...
 
float audioVolumeMin [get]
 Gets the audio volume minimum. More...
 
float audioPitch [get]
 Gets the audio pitch. More...
 
float audioPitchMin [get]
 Gets the audio pitch minimum. More...
 
- Properties inherited from CoreObject
bool debug [get, set]
 
- Properties inherited from IDebuggable
bool debug [get, set]
 

Detailed Description

Audio item.

Constructor & Destructor Documentation

AudioItem.AudioItem ( AudioClip  audioClip,
float  audioChanceRateInPercentage,
float  audioVolume,
float  audioVolumeMin,
float  audioPitch,
float  audioPitchMin 
)

Initializes a new instance of the AudioItem class.

Parameters
audioClipAudio clip.
audioChanceRateInPercentageAudio chance rate in percentage.
audioVolumeAudio volume.
audioVolumeMinAudio volume minimum.
audioPitchAudio pitch.
audioPitchMinAudio pitch minimum.

Property Documentation

float AudioItem.audioChanceRateInPercentage
get

Gets the audio chance rate in percentage.

The audio chance rate in percentage.

AudioClip AudioItem.audioClip
get

Gets the audio clip.

The audio clip.

float AudioItem.audioPitch
get

Gets the audio pitch.

The audio pitch.

float AudioItem.audioPitchMin
get

Gets the audio pitch minimum.

The audio pitch minimum.

float AudioItem.audioVolume
get

Gets the audio volume.

The audio volume.

float AudioItem.audioVolumeMin
get

Gets the audio volume minimum.

The audio volume minimum.


The documentation for this class was generated from the following file: