Animation Window
2023-06-16 18:29:09 0 举报
详细描述Unity AnimationWindow的实现UML
作者其他创作
大纲/内容
Runtime
TimeArea
AnimationCurve
CurveWrapper
一个Wrapper包含一个AnimationClip的所有AnimationCurve
ISelectionBinding
- GameObject rootGO- AnimationClip animationClip
CurveEditor
+ OnGUI- BeginViewGUI- GridGUI- DrawWrapperPopups- CurveGUI- EndViewGUI
AnimEditor : ScriptObject
实际绘制逻辑
GameObjectSelectionItem
AnimationWindow
Animation窗口
CurveRenderer
- DrawCurve( ) -- 基本是调用GL进行绘制的逻辑
SpliterState
用于实现Hierarchy和绘制窗口的分隔
AnimationWindowSelectionItem
CurveEditorSettings
AnimationClip
KeyFrame
- float time- float value- float inTangent- float outTangent...
DopeSheetEditor
TickHandler
AnimationClipSelectionItem
ZoomableArea
收藏
0 条评论
回复 删除
下一页