Urho3D
Public Member Functions | Public Attributes | List of all members
Urho3D::TrailPoint Struct Reference

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.
 
TrailPointnext_ {}
 Next point to make a tail.
 
float lifetime_ {}
 Tail time to live.
 
float sortDistance_ {}
 Distance for sorting.
 

Detailed Description

Trail is consisting of series of tails. Two connected points make a tail.


The documentation for this struct was generated from the following files: