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

Spatial timeline key. More...

#include </home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Urho2D/SpriterData2D.h>

Inheritance diagram for Urho3D::Spriter::SpatialTimelineKey:
Urho3D::Spriter::TimelineKey Urho3D::Spriter::BoneTimelineKey Urho3D::Spriter::SpriteTimelineKey

Public Member Functions

 SpatialTimelineKey (Timeline *timeline)
 
bool Load (const pugi::xml_node &node) override
 
void Interpolate (const TimelineKey &other, float t) override
 
SpatialTimelineKeyoperator= (const SpatialTimelineKey &rhs)=default
 
- Public Member Functions inherited from Urho3D::Spriter::TimelineKey
 TimelineKey (Timeline *timeline)
 
virtual ObjectType GetObjectType () const =0
 
virtual TimelineKeyClone () const =0
 
virtual bool Load (const pugi::xml_node &node)
 
virtual void Interpolate (const TimelineKey &other, float t)=0
 
TimelineKeyoperator= (const TimelineKey &rhs)
 
float GetTByCurveType (float currentTime, float nextTimelineTime) const
 

Public Attributes

SpatialInfo info_
 
- Public Attributes inherited from Urho3D::Spriter::TimelineKey
Timelinetimeline_ {}
 
int id_ {}
 
float time_ {}
 
CurveType curveType_ {}
 
float c1_ {}
 
float c2_ {}
 

Detailed Description

Spatial timeline key.

Member Function Documentation

◆ Interpolate()

void Urho3D::Spriter::SpatialTimelineKey::Interpolate ( const TimelineKey other,
float  t 
)
overridevirtual

◆ Load()

bool Urho3D::Spriter::SpatialTimelineKey::Load ( const pugi::xml_node &  node)
overridevirtual

Reimplemented from Urho3D::Spriter::TimelineKey.


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