C# Class AudioPosTriggerGUI, COMA

Inheritance: GUIDraggableObject
Datei anzeigen Open project: GDACollab/COMA

Public Properties

Property Type Description
drawRect Rect
eventTexture UnityEngine.Texture2D
style GUIStyle
trigger AudioPosTrigger,

Public Methods

Method Description
AudioPosTriggerGUI ( AudioPosTrigger, trigger ) : System
CalculateAudioPosition ( float zoomFactor, float hScrollPosition, Rect guiRect, AudioClip clip ) : float
CalculateGUIPosition ( float zoomFactor, float hScrollPosition, Rect guiRect, AudioClip clip ) : void
OnGUI ( float zoomFactor, float hScrollPosition, Rect guiRect, AudioClip clip ) : bool

Method Details

AudioPosTriggerGUI() public method

public AudioPosTriggerGUI ( AudioPosTrigger, trigger ) : System
trigger AudioPosTrigger,
return System

CalculateAudioPosition() public method

public CalculateAudioPosition ( float zoomFactor, float hScrollPosition, Rect guiRect, AudioClip clip ) : float
zoomFactor float
hScrollPosition float
guiRect Rect
clip UnityEngine.AudioClip
return float

CalculateGUIPosition() public method

public CalculateGUIPosition ( float zoomFactor, float hScrollPosition, Rect guiRect, AudioClip clip ) : void
zoomFactor float
hScrollPosition float
guiRect Rect
clip UnityEngine.AudioClip
return void

OnGUI() public method

public OnGUI ( float zoomFactor, float hScrollPosition, Rect guiRect, AudioClip clip ) : bool
zoomFactor float
hScrollPosition float
guiRect Rect
clip UnityEngine.AudioClip
return bool

Property Details

drawRect public_oe property

public Rect drawRect
return Rect

eventTexture public_oe property

public Texture2D,UnityEngine eventTexture
return UnityEngine.Texture2D

style public_oe property

public GUIStyle style
return GUIStyle

trigger public_oe property

public AudioPosTrigger, trigger
return AudioPosTrigger,