![]() |
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 > | InputBfactArray |
List< float[]> | OutputKeyNodes |
List< string > | OutputTypeArray |
List< float > | OutputBfactArray |
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_BF.cs.
void GenInterpolationPoint_BF.CalculateSpline | ( | ) |
Definition at line 106 of file GenInterpolationPoint_BF.cs.
References GetHermiteAtTime(), lineCount, SetupSplineInterpolator(), and smoothnessFactor.
Referenced by GenInterpolationArray_BF.CalculateSplineArray().
Vector3 GenInterpolationPoint_BF.GetHermiteAtTime | ( | float | timeParam | ) |
Definition at line 179 of file GenInterpolationPoint_BF.cs.
References MathUtils.Ease(), and GetHermiteInternal().
Referenced by CalculateSpline().
Vector3 GenInterpolationPoint_BF.GetHermiteInternal | ( | int | idxFirstPoint, |
float | t | ||
) |
Definition at line 148 of file GenInterpolationPoint_BF.cs.
Referenced by GetHermiteAtTime().
|
private |
Definition at line 130 of file GenInterpolationPoint_BF.cs.
Referenced by CalculateSpline().
|
private |
Definition at line 99 of file GenInterpolationPoint_BF.cs.
|
private |
Definition at line 100 of file GenInterpolationPoint_BF.cs.
float GenInterpolationPoint_BF.Duration = 1.0f |
Definition at line 74 of file GenInterpolationPoint_BF.cs.
List<float> GenInterpolationPoint_BF.InputBfactArray |
Definition at line 79 of file GenInterpolationPoint_BF.cs.
Referenced by GenInterpolationArray_BF.CalculateSplineArray().
ArrayList GenInterpolationPoint_BF.InputKeyNodes |
Definition at line 76 of file GenInterpolationPoint_BF.cs.
Referenced by GenInterpolationArray_BF.CalculateSplineArray().
List<string> GenInterpolationPoint_BF.InputTypeArray |
Definition at line 77 of file GenInterpolationPoint_BF.cs.
Referenced by GenInterpolationArray_BF.CalculateSplineArray().
int GenInterpolationPoint_BF.lineCount =1000 |
Definition at line 75 of file GenInterpolationPoint_BF.cs.
Referenced by CalculateSpline().
|
private |
Definition at line 87 of file GenInterpolationPoint_BF.cs.
float GenInterpolationPoint_BF.moveSpeed =10f |
Definition at line 94 of file GenInterpolationPoint_BF.cs.
|
private |
Definition at line 98 of file GenInterpolationPoint_BF.cs.
|
private |
Definition at line 101 of file GenInterpolationPoint_BF.cs.
|
private |
Definition at line 103 of file GenInterpolationPoint_BF.cs.
List<float> GenInterpolationPoint_BF.OutputBfactArray |
Definition at line 84 of file GenInterpolationPoint_BF.cs.
Referenced by GenInterpolationArray_BF.CalculateSplineArray().
List<float[]> GenInterpolationPoint_BF.OutputKeyNodes |
Definition at line 81 of file GenInterpolationPoint_BF.cs.
Referenced by GenInterpolationArray_BF.CalculateSplineArray().
List<string> GenInterpolationPoint_BF.OutputTypeArray |
Definition at line 82 of file GenInterpolationPoint_BF.cs.
Referenced by GenInterpolationArray_BF.CalculateSplineArray().
|
static |
Definition at line 89 of file GenInterpolationPoint_BF.cs.
Referenced by CalculateSpline(), and SecondaryStructureOldGUI.ChooseSmoothness_BF().
GameObject GenInterpolationPoint_BF.SplineParent |
Definition at line 73 of file GenInterpolationPoint_BF.cs.
GameObject GenInterpolationPoint_BF.temp |
Definition at line 93 of file GenInterpolationPoint_BF.cs.