![]() |
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
Classes | |
class | SplineNode |
Public Member Functions | |
void | CalculateSpline () |
Vector3 | GetHermiteInternal (int idxFirstPoint, float t) |
Vector3 | GetHermiteAtTime (float timeParam) |
Public Attributes | |
GameObject | SplineParent |
float | Duration = 1.0f |
int | lineCount =1000 |
ArrayList | InputKeyNodes |
List< string > | InputTypeArray |
List< float[]> | OutputKeyNodes |
List< string > | OutputTypeArray |
GameObject | temp |
float | moveSpeed =10f |
Static Public Attributes | |
static int | smoothnessFactor = 8 |
Private Member Functions | |
void | SetupSplineInterpolator () |
Private Attributes | |
List< SplineNode > | mNodes |
Vector3 | NextPos |
Vector3 | CurPos |
Quaternion | CurRot |
Quaternion | NextRot |
Vector3[] | Nodes |
Definition at line 70 of file GenInterpolationPoint.cs.
void GenInterpolationPoint.CalculateSpline | ( | ) |
Definition at line 101 of file GenInterpolationPoint.cs.
References GetHermiteAtTime(), lineCount, SetupSplineInterpolator(), and smoothnessFactor.
Referenced by GenInterpolationArray.CalculateSplineArray().
Vector3 GenInterpolationPoint.GetHermiteAtTime | ( | float | timeParam | ) |
Definition at line 163 of file GenInterpolationPoint.cs.
References MathUtils.Ease(), and GetHermiteInternal().
Referenced by CalculateSpline().
Vector3 GenInterpolationPoint.GetHermiteInternal | ( | int | idxFirstPoint, |
float | t | ||
) |
Definition at line 142 of file GenInterpolationPoint.cs.
Referenced by GetHermiteAtTime().
|
private |
Definition at line 124 of file GenInterpolationPoint.cs.
Referenced by CalculateSpline().
|
private |
Definition at line 94 of file GenInterpolationPoint.cs.
|
private |
Definition at line 95 of file GenInterpolationPoint.cs.
float GenInterpolationPoint.Duration = 1.0f |
Definition at line 74 of file GenInterpolationPoint.cs.
ArrayList GenInterpolationPoint.InputKeyNodes |
Definition at line 76 of file GenInterpolationPoint.cs.
Referenced by GenInterpolationArray.CalculateSplineArray().
List<string> GenInterpolationPoint.InputTypeArray |
Definition at line 77 of file GenInterpolationPoint.cs.
Referenced by GenInterpolationArray.CalculateSplineArray().
int GenInterpolationPoint.lineCount =1000 |
Definition at line 75 of file GenInterpolationPoint.cs.
Referenced by CalculateSpline().
|
private |
Definition at line 82 of file GenInterpolationPoint.cs.
float GenInterpolationPoint.moveSpeed =10f |
Definition at line 89 of file GenInterpolationPoint.cs.
|
private |
Definition at line 93 of file GenInterpolationPoint.cs.
|
private |
Definition at line 96 of file GenInterpolationPoint.cs.
|
private |
Definition at line 98 of file GenInterpolationPoint.cs.
List<float[]> GenInterpolationPoint.OutputKeyNodes |
Definition at line 79 of file GenInterpolationPoint.cs.
Referenced by GenInterpolationArray.CalculateSplineArray().
List<string> GenInterpolationPoint.OutputTypeArray |
Definition at line 80 of file GenInterpolationPoint.cs.
Referenced by GenInterpolationArray.CalculateSplineArray().
|
static |
Definition at line 84 of file GenInterpolationPoint.cs.
Referenced by CalculateSpline().
GameObject GenInterpolationPoint.SplineParent |
Definition at line 73 of file GenInterpolationPoint.cs.
GameObject GenInterpolationPoint.temp |
Definition at line 88 of file GenInterpolationPoint.cs.