U3D
Open-source, cross-platform 2D and 3D game engine built in C++
|
Trail is consisting of series of tails. Two connected points make a tail. More...
#include </var/dev/u3d/stable/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.