forked from izrik/FbxSharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFbxAnimCurveBase.cs
109 lines (77 loc) · 2.51 KB
/
FbxAnimCurveBase.cs
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
using System;
namespace FbxSharp
{
public abstract class FbxAnimCurveBase : FbxObject
{
protected FbxAnimCurveBase(string name="")
: base(name)
{
}
#region Key Management
public abstract void KeyClear();
public abstract int KeyGetCount();
public abstract int KeyAdd(FbxTime pTime, FbxAnimCurveKeyBase pKey/*, int *pLast=NULL*/);
public abstract bool KeySet(int pIndex, FbxAnimCurveKeyBase pKey);
public abstract bool KeyRemove(int pIndex);
public abstract bool KeyRemove(int pStartIndex, int pEndIndex);
#endregion
#region Key Time Manipulation
public virtual FbxTime KeyGetTime(int pKeyIndex)
{
throw new NotImplementedException();
}
public abstract void KeySetTime(int pKeyIndex, FbxTime pTime);
#endregion
#region Extrapolation
public enum EExtrapolationType
{
eant = 1,
eRepetition = 2,
eMirrorRepetition = 3,
eKeepSlope = 4
}
public void SetPreExtrapolation(EExtrapolationType pExtrapolation)
{
throw new NotImplementedException();
}
public EExtrapolationType GetPreExtrapolation()
{
throw new NotImplementedException();
}
public void SetPreExtrapolationCount(ulong pCount)
{
throw new NotImplementedException();
}
public ulong GetPreExtrapolationCount()
{
throw new NotImplementedException();
}
public void SetPostExtrapolation(EExtrapolationType pExtrapolation)
{
throw new NotImplementedException();
}
public EExtrapolationType GetPostExtrapolation()
{
throw new NotImplementedException();
}
public void SetPostExtrapolationCount(ulong pCount)
{
throw new NotImplementedException();
}
public ulong GetPostExtrapolationCount()
{
throw new NotImplementedException();
}
#endregion
#region Evaluation and Analysis
public abstract float Evaluate(FbxTime pTime/*, int *pLast=NULL*/);
public abstract float EvaluateIndex(double pIndex);
#endregion
#region Utility functions.
public virtual bool GetTimeInterval(out FbxTimeSpan pTimeInterval)
{
throw new NotImplementedException();
}
#endregion
}
}