Click or drag to resize

AudioObject Properties

The AudioObject type exposes the following members.

Properties
  NameDescription
Public propertyaudioID
Gets the audio ID.
Public propertyaudioItem
Gets the corresponding AudioSubItem
Public propertyaudioObjectTime
Returns the high precision local time of this audio object
Public propertyaudioTime
Sets or gets the current audio time relative to ClipStartTime
Public propertycategory
Gets the category.
Public propertyclipLength
Gets the length of the clip.
Public propertycompletelyPlayedDelegate
Gets or sets the delegate to be called once an audio clip was completely played.
Public propertyisFadeOutComplete
return true if the audio has completely faded out
Public propertyisFadingIn
return true if the audio is currently fading in
Public propertyisFadingOut
return true if the audio is currently fading out
Public propertyisFadingOutOrScheduled
return true if the audio is currently fading out or is scheduled to fade out
Public propertyisPlayedAsMusicOrAmbienceSound
Returns true if the audio object is treated as music
Public propertypan
Sets or gets the audio pan.
Public propertypitch
Sets or gets the audio pitch.
Public propertyplayCalledAtTime
Gets the systemTime at which the audio Play() function was called.
Public propertyprimaryAudioSource
returns the primary AudioSource
Public propertyscheduledPlayingAtDspTime
Gets or sets the DSP time at which the audio is scheduled to play.
Public propertysecondaryAudioSource
returns the secondary AudioSource
Public propertystartedPlayingAtTime
Gets the systemTime at which the audio started playing.
Public propertystopAfterFadeOut
If enabled, the audio will stop playing if a fadeout is finished.
Public propertysubItem
Gets the corresponding AudioSubItem
Public propertytimeUntilEnd
Gets the time until the clip will stop.
Public propertyvolume
Gets or sets the volume.
Public propertyvolumeItem
Gets or sets the volume of the audio item.
Public propertyvolumeTotal
Gets the total volume.
Public propertyvolumeTotalWithoutFade
Gets the total volume.
Top
See Also