#include <CinemaPath.h>
|
| | CCinemaPath () |
| |
| | CCinemaPath (const CCinemaData &data, const TNSpline &spline, const TNSpline &targetSpline) |
| |
| void | MoveToPointAt (float t, float nodet, const CVector3D &startRotation, CCamera *camera) const |
| |
| 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 |
| |
| CVector3D | GetNodePosition (const int index) const |
| |
| fixed | GetNodeDuration (const int index) const |
| |
| fixed | GetDuration () const |
| |
| float | GetNodeFraction () const |
| |
| float | GetElapsedTime () const |
| |
| const CStrW & | GetName () const |
| |
| void | SetTimescale (fixed scale) |
| |
| bool | Play (const float deltaRealTime, CCamera *camera) |
| | Returns false if finished. More...
|
| |
| bool | Validate () |
| | Validate the path. More...
|
| |
| bool | Empty () const |
| | Returns true if path doesn't contain nodes. More...
|
| |
| void | Reset () |
| | Resets the path state. More...
|
| |
| fixed | GetTimescale () const |
| |
| const TNSpline & | GetTargetSpline () const |
| |
| virtual | ~TNSpline () |
| |
| void | AddNode (const CFixedVector3D &pos, const CFixedVector3D &rotation, fixed timePeriod) |
| |
| void | InsertNode (const int index, const CFixedVector3D &pos, const CFixedVector3D &rotation, fixed timePeriod) |
| |
| void | RemoveNode (const int index) |
| |
| void | UpdateNodePos (const int index, const CFixedVector3D &pos) |
| |
| void | UpdateNodeTime (const int index, fixed time) |
| |
| void | BuildSpline () |
| |
| void | Smooth () |
| |
| void | Constrain () |
| |
| virtual | ~SNSpline () |
| |
| void | BuildSpline () |
| |
| void | Smooth () |
| |
| | RNSpline () |
| |
| virtual | ~RNSpline () |
| |
| void | AddNode (const CFixedVector3D &pos) |
| |
| void | BuildSpline () |
| |
| CVector3D | GetPosition (float time) const |
| |
| CVector3D | GetRotation (float time) const |
| |
| const std::vector< SplineData > & | GetAllNodes () const |
| |
◆ CCinemaPath() [1/2]
| CCinemaPath::CCinemaPath |
( |
| ) |
|
|
inline |
◆ CCinemaPath() [2/2]
◆ EaseCircle()
| float CCinemaPath::EaseCircle |
( |
float |
t | ) |
const |
◆ EaseDefault()
| float CCinemaPath::EaseDefault |
( |
float |
t | ) |
const |
◆ EaseExpo()
| float CCinemaPath::EaseExpo |
( |
float |
t | ) |
const |
◆ EaseGrowth()
| float CCinemaPath::EaseGrowth |
( |
float |
t | ) |
const |
◆ EaseIn()
| float CCinemaPath::EaseIn |
( |
float |
t | ) |
const |
◆ EaseInOut()
| float CCinemaPath::EaseInOut |
( |
float |
t | ) |
const |
◆ EaseOut()
| float CCinemaPath::EaseOut |
( |
float |
t | ) |
const |
◆ EaseOutIn()
| float CCinemaPath::EaseOutIn |
( |
float |
t | ) |
const |
◆ EaseSine()
| float CCinemaPath::EaseSine |
( |
float |
t | ) |
const |
◆ Empty()
| bool CCinemaPath::Empty |
( |
| ) |
const |
Returns true if path doesn't contain nodes.
◆ GetData()
◆ GetDuration()
| fixed CCinemaPath::GetDuration |
( |
| ) |
const |
◆ GetElapsedTime()
| float CCinemaPath::GetElapsedTime |
( |
| ) |
const |
◆ GetName()
| const CStrW & CCinemaPath::GetName |
( |
| ) |
const |
◆ GetNodeDuration()
| fixed CCinemaPath::GetNodeDuration |
( |
const int |
index | ) |
const |
◆ GetNodeFraction()
| float CCinemaPath::GetNodeFraction |
( |
| ) |
const |
◆ GetNodePosition()
| CVector3D CCinemaPath::GetNodePosition |
( |
const int |
index | ) |
const |
◆ GetTargetSpline()
| const TNSpline & CCinemaPath::GetTargetSpline |
( |
| ) |
const |
◆ GetTimescale()
| fixed CCinemaPath::GetTimescale |
( |
| ) |
const |
◆ MoveToPointAt()
| void CCinemaPath::MoveToPointAt |
( |
float |
t, |
|
|
float |
nodet, |
|
|
const CVector3D & |
startRotation, |
|
|
CCamera * |
camera |
|
) |
| const |
◆ Play()
| bool CCinemaPath::Play |
( |
const float |
deltaRealTime, |
|
|
CCamera * |
camera |
|
) |
| |
Returns false if finished.
- Parameters
-
| deltaRealTime | Elapsed real time since the last frame. |
| camera | An affected camera |
◆ Reset()
| void CCinemaPath::Reset |
( |
| ) |
|
◆ SetTimescale()
| void CCinemaPath::SetTimescale |
( |
fixed |
scale | ) |
|
◆ Validate()
| bool CCinemaPath::Validate |
( |
| ) |
|
Validate the path.
- Returns
- true if the path is valid
◆ DistModePtr
| float(CCinemaPath::* CCinemaPath::DistModePtr) (float ratio) const |
◆ DistStylePtr
| float(CCinemaPath::* CCinemaPath::DistStylePtr) (float ratio) const |
◆ m_CurrentNode
| size_t CCinemaPath::m_CurrentNode |
◆ m_PreviousNodeTime
| float CCinemaPath::m_PreviousNodeTime |
◆ m_PreviousRotation
◆ m_TargetSpline
◆ m_TimeElapsed
| float CCinemaPath::m_TimeElapsed |
The documentation for this class was generated from the following files:
- /home/docker/jenkins/workspace/technical-docs/source/simulation2/helpers/CinemaPath.h
- /home/docker/jenkins/workspace/technical-docs/source/simulation2/helpers/CinemaPath.cpp