Urho3D
|
Trail is consisting of series of tails. Two connected points make a tail. More...
#include </home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Graphics/RibbonTrail.h>
Public Member Functions | |
TrailPoint ()=default | |
Construct a zero-initialized TrailPoint. | |
TrailPoint (const Vector3 &position, const Vector3 &forward) | |
Construct a TrailPoint with the given position and forward vector. | |
Public Attributes | |
Vector3 | position_ |
Position. | |
Vector3 | forward_ |
Forward vector. | |
Vector3 | parentPos_ |
Parent position. Trail bone type uses this. | |
float | elapsedLength_ {} |
Elapsed length inside the trail. | |
TrailPoint * | next_ {} |
Next point to make a tail. | |
float | lifetime_ {} |
Tail time to live. | |
float | sortDistance_ {} |
Distance for sorting. | |
Trail is consisting of series of tails. Two connected points make a tail.