forked from Unity-Technologies/UnityCsReference
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIAnimationWindowControl.cs
More file actions
56 lines (43 loc) · 1.83 KB
/
Copy pathIAnimationWindowControl.cs
File metadata and controls
56 lines (43 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using System;
using UnityEngine;
using UnityEditor;
using Object = UnityEngine.Object;
namespace UnityEditorInternal
{
internal abstract class IAnimationWindowControl : ScriptableObject
{
public virtual void OnEnable() { hideFlags = HideFlags.HideAndDontSave; }
public abstract void OnSelectionChanged();
public abstract AnimationKeyTime time { get; }
public abstract void GoToTime(float time);
public abstract void GoToFrame(int frame);
public abstract void StartScrubTime();
public abstract void ScrubTime(float time);
public abstract void EndScrubTime();
public abstract void GoToPreviousFrame();
public abstract void GoToNextFrame();
public abstract void GoToPreviousKeyframe();
public abstract void GoToNextKeyframe();
public abstract void GoToFirstKeyframe();
public abstract void GoToLastKeyframe();
public abstract bool canPlay { get; }
public abstract bool playing { get; }
public abstract bool StartPlayback();
public abstract void StopPlayback();
public abstract bool PlaybackUpdate();
public abstract bool canPreview { get; }
public abstract bool previewing { get; }
public abstract bool StartPreview();
public abstract void StopPreview();
public abstract bool canRecord { get; }
public abstract bool recording { get; }
public abstract bool StartRecording(Object targetObject);
public abstract void StopRecording();
public abstract void ResampleAnimation();
public abstract void ProcessCandidates();
public abstract void ClearCandidates();
}
}