#include <CinemaTrack.h>
|
| | CCinemaPath () |
| |
| | CCinemaPath (const CCinemaData &data, const TNSpline &spline) |
| |
| | ~CCinemaPath () |
| |
| void | MoveToPointAt (float t, float nodet, const CVector3D &) |
| |
| float | EaseIn (float t) const |
| |
| float | EaseOut (float t) const |
| |
| float | EaseInOut (float t) const |
| |
| float | EaseOutIn (float t) const |
| |
| float | EaseDefault (float t) const |
| |
| float | EaseGrowth (float t) const |
| |
| float | EaseExpo (float t) const |
| |
| float | EaseCircle (float t) const |
| |
| float | EaseSine (float t) const |
| |
| const CCinemaData * | GetData () const |
| |
| void | DrawSpline (const CVector4D &RGBA, int smoothness, bool lines) const |
| |
| CVector3D | GetNodePosition (const int index) const |
| |
| float | GetNodeDuration (const int index) const |
| |
| float | GetDuration () const |
| |
| float | GetNodeFraction () const |
| |
| float | GetElapsedTime () const |
| |
| void | SetTimescale (float scale) |
| |
| bool | Play (const float deltaRealTime) |
| | Returns false if finished. More...
|
| |
| bool | Validate () |
| |
| float | GetTimescale () const |
| |
| virtual | ~TNSpline () |
| |
| void | AddNode (const CVector3D &pos, const CVector3D &rotation, float timePeriod) |
| |
| void | PushNode () |
| |
| void | InsertNode (const int index, const CVector3D &pos, const CVector3D &rotation, float timePeriod) |
| |
| void | RemoveNode (const int index) |
| |
| void | UpdateNodeTime (const int index, float time) |
| |
| void | UpdateNodePos (const int index, const CVector3D &pos) |
| |
| void | BuildSpline () |
| |
| void | Smooth () |
| |
| void | Constrain () |
| |
| virtual | ~SNSpline () |
| |
| void | BuildSpline () |
| |
| void | Smooth () |
| |
| | RNSpline () |
| |
| virtual | ~RNSpline () |
| |
| void | AddNode (const CVector3D &pos) |
| |
| void | BuildSpline () |
| |
| CVector3D | GetPosition (float time) const |
| |
| CVector3D | GetRotation (float time) const |
| |
| const std::vector< SplineData > & | GetAllNodes () const |
| |
Definition at line 61 of file CinemaTrack.h.
| Enumerator |
|---|
| EM_IN |
|
| EM_OUT |
|
| EM_INOUT |
|
| EM_OUTIN |
|
Definition at line 68 of file CinemaTrack.h.
| Enumerator |
|---|
| ES_DEFAULT |
|
| ES_GROWTH |
|
| ES_EXPO |
|
| ES_CIRCLE |
|
| ES_SINE |
|
Definition at line 69 of file CinemaTrack.h.
| CCinemaPath::CCinemaPath |
( |
| ) |
|
|
inline |
| CCinemaPath::~CCinemaPath |
( |
| ) |
|
|
inline |
| void CCinemaPath::DrawSpline |
( |
const CVector4D & |
RGBA, |
|
|
int |
smoothness, |
|
|
bool |
lines |
|
) |
| const |
| float CCinemaPath::EaseCircle |
( |
float |
t | ) |
const |
| float CCinemaPath::EaseDefault |
( |
float |
t | ) |
const |
| float CCinemaPath::EaseExpo |
( |
float |
t | ) |
const |
| float CCinemaPath::EaseGrowth |
( |
float |
t | ) |
const |
| float CCinemaPath::EaseIn |
( |
float |
t | ) |
const |
| float CCinemaPath::EaseInOut |
( |
float |
t | ) |
const |
| float CCinemaPath::EaseOut |
( |
float |
t | ) |
const |
| float CCinemaPath::EaseOutIn |
( |
float |
t | ) |
const |
| float CCinemaPath::EaseSine |
( |
float |
t | ) |
const |
| float CCinemaPath::GetDuration |
( |
| ) |
const |
|
inline |
| float CCinemaPath::GetElapsedTime |
( |
| ) |
const |
|
inline |
| float CCinemaPath::GetNodeDuration |
( |
const int |
index | ) |
const |
|
inline |
| float CCinemaPath::GetNodeFraction |
( |
| ) |
const |
|
inline |
| CVector3D CCinemaPath::GetNodePosition |
( |
const int |
index | ) |
const |
|
inline |
| float CCinemaPath::GetTimescale |
( |
| ) |
const |
|
inline |
| void CCinemaPath::MoveToPointAt |
( |
float |
t, |
|
|
float |
nodet, |
|
|
const CVector3D & |
startRotation |
|
) |
| |
| bool CCinemaPath::Play |
( |
const float |
deltaRealTime | ) |
|
Returns false if finished.
- Parameters
-
| deltaRealTime | Elapsed real time since the last frame. |
Definition at line 248 of file CinemaTrack.cpp.
| void CCinemaPath::SetTimescale |
( |
float |
scale | ) |
|
|
inline |
| bool CCinemaPath::Validate |
( |
| ) |
|
| float(CCinemaPath::* CCinemaPath::DistModePtr)(float ratio) const |
| float(CCinemaPath::* CCinemaPath::DistStylePtr)(float ratio) const |
| size_t CCinemaPath::m_CurrentNode |
| float CCinemaPath::m_PreviousNodeTime |
| float CCinemaPath::m_TimeElapsed |
The documentation for this class was generated from the following files: