U3D
Open-source, cross-platform 2D and 3D game engine built in C++
Loading...
Searching...
No Matches
Urho3D::TrailPoint Struct Reference

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

#include </var/dev/u3d/stable/Source/Urho3D/Graphics/RibbonTrail.h>

Collaboration diagram for Urho3D::TrailPoint:
[legend]

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: