Public Member Functions | |
Vector3 | Evaluate (Vector3 firstVector_, Vector3 secondVector_, float t_) |
Vector3 | Evaluate (float t_) |
void | SetVectors (Vector3 firstVector_, Vector3 secondVector_) |
Data Fields | |
bool | localVector = false |
Properties | |
Vector3 | firstVector [get, set] |
Vector3 | secondVector [get, set] |
A class that helps with Lerp-ing Vector3s on a per-axis basis, using curves, rather than all axis at once.
|
inline |
If you are not updating the vectors every frame, you can set the vectors with SetVectors and this Evaluate overload will keep those.
|
inline |
Input a starting vector, an ending vector, and a t variable, and returns lerp of all 3 axis.
|
inline |
Sets firstVector and secondVector, respectively.
bool DeckStacker.DSVector3Curve.localVector = false |
A flag that can be used to identify if values are intended to be local or worldspace.
|
getset |
This is the vector3 represented by Y=0 on the curves.
|
getset |
This is the vector3 represented by Y=1 on the curves.