Rebel Fork Framework
Urho3D::Spriter::SpriteTimelineKey Struct Reference

Sprite timeline key. More...

#include <Urho3D/Urho2D/SpriterData2D.h>

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

Public Member Functions

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

Public Attributes

int folderId_ {}
int fileId_ {}
bool useDefaultPivot_ {}
float pivotX_ {}
float pivotY_ {}
int zIndex_ {}
 Run time data.
Public Attributes inherited from Urho3D::Spriter::SpatialTimelineKey
SpatialInfo info_
Public Attributes inherited from Urho3D::Spriter::TimelineKey
Timeline * timeline_ {}
int id_ {}
float time_ {}
CurveType curveType_ {}
float c1_ {}
float c2_ {}

Detailed Description

Sprite timeline key.

Member Function Documentation

◆ Clone()

TimelineKey * Urho3D::Spriter::SpriteTimelineKey::Clone ( ) const
overridevirtual

◆ GetObjectType()

ObjectType Urho3D::Spriter::SpriteTimelineKey::GetObjectType ( ) const
inlineoverridevirtual

◆ Interpolate()

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

◆ Load()

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

The documentation for this struct was generated from the following files:
  • Urho3D/Urho2D/SpriterData2D.h
  • Urho3D/Urho2D/SpriterData2D.cpp