C# Class GAudio.DrawAudioModule

A simple component that draws the raw audio data ( -1 to 1 floats ) using UnityEngine's LineRenderer.
Inheritance: AGATChunkCopyClientBehaviour
Afficher le fichier Open project: gregzo/G-Audio

Méthodes publiques

Свойство Type Description
handleNoMoreDataInStart bool
lineMaterial UnityEngine.Material
lineWidthStart float
startColor UnityEngine.Color
xFactor float
yFactor float

Protected Properties

Свойство Type Description
_lineRenderer UnityEngine.LineRenderer

Méthodes protégées

Méthode Description
HandleAudioDataUpdate ( ) : void
HandleNoMoreData ( ) : void
SetVertexCount ( ) : void
Start ( ) : void

Method Details

HandleAudioDataUpdate() protected méthode

protected HandleAudioDataUpdate ( ) : void
Résultat void

HandleNoMoreData() protected méthode

protected HandleNoMoreData ( ) : void
Résultat void

SetVertexCount() protected méthode

protected SetVertexCount ( ) : void
Résultat void

Start() protected méthode

protected Start ( ) : void
Résultat void

Property Details

_lineRenderer protected_oe property

protected LineRenderer,UnityEngine _lineRenderer
Résultat UnityEngine.LineRenderer

handleNoMoreDataInStart public_oe property

Should HandleNoMoreData() be called in Start() ? Useful to draw a zero-state line before any data is received.
public bool handleNoMoreDataInStart
Résultat bool

lineMaterial public_oe property

The Material used by the LineRenderer
public Material,UnityEngine lineMaterial
Résultat UnityEngine.Material

lineWidthStart public_oe property

public float lineWidthStart
Résultat float

startColor public_oe property

public Color,UnityEngine startColor
Résultat UnityEngine.Color

xFactor public_oe property

X distance between two data points.
public float xFactor
Résultat float

yFactor public_oe property

Multiplyer for translating values into y position.
public float yFactor
Résultat float