U3D
Open-source, cross-platform 2D and 3D game engine built in C++
|
Spatial timeline key. More...
#include </var/dev/u3d/stable/Source/Urho3D/Urho2D/SpriterData2D.h>
Public Member Functions | |
SpatialTimelineKey (Timeline *timeline) | |
bool | Load (const pugi::xml_node &node) override |
void | Interpolate (const TimelineKey &other, float t) override |
SpatialTimelineKey & | operator= (const SpatialTimelineKey &rhs)=default |
Public Member Functions inherited from Urho3D::Spriter::TimelineKey | |
TimelineKey (Timeline *timeline) | |
virtual ObjectType | GetObjectType () const =0 |
virtual TimelineKey * | Clone () const =0 |
virtual bool | Load (const pugi::xml_node &node) |
virtual void | Interpolate (const TimelineKey &other, float t)=0 |
TimelineKey & | operator= (const TimelineKey &rhs) |
float | GetTByCurveType (float currentTime, float nextTimelineTime) const |
Public Attributes | |
SpatialInfo | info_ |
Public Attributes inherited from Urho3D::Spriter::TimelineKey | |
Timeline * | timeline_ {} |
int | id_ {} |
float | time_ {} |
CurveType | curveType_ {} |
float | c1_ {} |
float | c2_ {} |
Spatial timeline key.
|
overridevirtual |
Implements Urho3D::Spriter::TimelineKey.
|
overridevirtual |
Reimplemented from Urho3D::Spriter::TimelineKey.