C# Class ACEEditor, COMA

Inheritance: EditorWindow
显示文件 Open project: GDACollab/COMA

Public Properties

Property Type Description
leftScaleIndicators int
leftSidebarWidth int
oldBezierData AudioPointValue,
oldBezierLHandle AudioPointValue,
oldBezierRHandle AudioPointValue,
triggerWindowRect Rect

Public Methods

Method Description
ACEEditor ( ) : UnityEditor
CalculateAudioPosition ( float zoomFactor, float hScrollPosition, Rect guiRect, AudioClip clip, float guiPos ) : float
CalculateGUIAudioPosition ( float zoomFactor, float hScrollPosition, Rect guiRect, AudioClip clip, float audioPos ) : float
CalculateSpeed ( Rect guiRect, AudioClip clip, float guiPos ) : float
OnInspectorUpdate ( ) : void
Update ( ) : void

Private Methods

Method Description
AddCurvePoint ( AudioBezierPoint, p, int curve ) : void
AddCurvePoint ( AudioBezierPoint, p, int curve, bool hLocked ) : void
AddTriggerPoint ( AudioPosTrigger, point ) : void
ClearCurvePoints ( ) : void
ClearTriggers ( ) : void
CreateTriggers ( ) : void
GenerateAudioTexture ( ) : void
GenerateTextures ( ) : void
OnDestroy ( ) : void
OnDisable ( ) : void
OnGUI ( ) : void
OnSelectionChange ( ) : void
RecreateCurvePoints ( ) : void
ShowWindow ( ) : void
TriggerEditWindow ( int windowID ) : void

Method Details

ACEEditor() public method

public ACEEditor ( ) : UnityEditor
return UnityEditor

CalculateAudioPosition() public static method

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

CalculateGUIAudioPosition() public static method

public static CalculateGUIAudioPosition ( float zoomFactor, float hScrollPosition, Rect guiRect, AudioClip clip, float audioPos ) : float
zoomFactor float
hScrollPosition float
guiRect Rect
clip UnityEngine.AudioClip
audioPos float
return float

CalculateSpeed() public static method

public static CalculateSpeed ( Rect guiRect, AudioClip clip, float guiPos ) : float
guiRect Rect
clip UnityEngine.AudioClip
guiPos float
return float

OnInspectorUpdate() public method

public OnInspectorUpdate ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

leftScaleIndicators public_oe static_oe property

public static int leftScaleIndicators
return int

leftSidebarWidth public_oe static_oe property

public static int leftSidebarWidth
return int

oldBezierData public_oe property

public AudioPointValue, oldBezierData
return AudioPointValue,

oldBezierLHandle public_oe property

public AudioPointValue, oldBezierLHandle
return AudioPointValue,

oldBezierRHandle public_oe property

public AudioPointValue, oldBezierRHandle
return AudioPointValue,

triggerWindowRect public_oe property

public Rect triggerWindowRect
return Rect