C# Class GAudio.AGATStreamObserver

Base class for components which need to subscribe to an IGATAudioThreadStream.
Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: gregzo/G-Audio

Méthodes publiques

Свойство Type Description
streamComponent UnityEngine.Component
streamIndex int
streamIsTrack bool

Protected Properties

Свойство Type Description
_stream IGATAudioThreadStream

Méthodes protégées

Méthode Description
GetStream ( ) : void

Call from derived classes to attempt to get a valid stream from the streamComponent and store it in _stream.

Start ( ) : void

Method Details

GetStream() protected méthode

Call from derived classes to attempt to get a valid stream from the streamComponent and store it in _stream.
protected GetStream ( ) : void
Résultat void

Start() protected méthode

protected Start ( ) : void
Résultat void

Property Details

_stream protected_oe property

protected IGATAudioThreadStream _stream
Résultat IGATAudioThreadStream

streamComponent public_oe property

The component which we will grab the stream from. Should implement IGATAudioThreadStreamOwner.
public Component,UnityEngine streamComponent
Résultat UnityEngine.Component

streamIndex public_oe property

The index of the stream. A single IGATAudioThreadStreamOwner component can broadcast multiple streams - which one should we observe? If streamIsTrack is true, this will specify the track number.
public int streamIndex
Résultat int

streamIsTrack public_oe property

Are we observing a GATPlayer's track?
public bool streamIsTrack
Résultat bool