Obi  6.4
Unified particle physics for Unity
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Obi.ObiPointsDataChannel Class Reference
Inheritance diagram for Obi.ObiPointsDataChannel:
Obi.ObiPathDataChannel< T, U > Obi.IObiPathDataChannel

Public Member Functions

Vector3 GetTangent (int index)
 
Vector3 GetAcceleration (int index)
 
Vector3 GetPositionAtMu (bool closed, float mu)
 
Vector3 GetTangentAtMu (bool closed, float mu)
 
Vector3 GetAccelerationAtMu (bool closed, float mu)
 
- Public Member Functions inherited from Obi.ObiPathDataChannel< T, U >
void Clean ()
 
 ObiPathDataChannel (ObiInterpolator< U > interpolator)
 
void RemoveAt (int index)
 
Evaluate (U v0, U v1, U v2, U v3, float mu)
 
EvaluateFirstDerivative (U v0, U v1, U v2, U v3, float mu)
 
EvaluateSecondDerivative (U v0, U v1, U v2, U v3, float mu)
 
int GetSpanCount (bool closed)
 
int GetSpanControlPointAtMu (bool closed, float mu, out float spanMu)
 

Additional Inherited Members

- Public Attributes inherited from Obi.ObiPathDataChannel< T, U >
List< T > data = new List<T>()
 
- Protected Attributes inherited from Obi.ObiPathDataChannel< T, U >
ObiInterpolator< U > interpolator
 
bool dirty = false
 
- Properties inherited from Obi.ObiPathDataChannel< T, U >
int Count [get]
 
bool Dirty [get]
 
this[int i] [get, set]
 
- Properties inherited from Obi.IObiPathDataChannel
int Count [get]
 
bool Dirty [get]
 

Member Function Documentation

Vector3 Obi.ObiPointsDataChannel.GetAccelerationAtMu ( bool  closed,
float  mu 
)

Returns acceleration at time mu, with 0<=mu<=1 where 0 is the start of the spline and 1 is the end.

Vector3 Obi.ObiPointsDataChannel.GetPositionAtMu ( bool  closed,
float  mu 
)

Returns spline position at time mu, with 0<=mu<=1 where 0 is the start of the spline and 1 is the end.

Vector3 Obi.ObiPointsDataChannel.GetTangentAtMu ( bool  closed,
float  mu 
)

Returns normal tangent vector at time mu, with 0<=mu<=1 where 0 is the start of the spline and 1 is the end.


The documentation for this class was generated from the following file: