Urho3D::Transform2D Struct Reference

2D Transform class for spriter animation. More...

#include <Animation2D.h>

Collaboration diagram for Urho3D::Transform2D:

Public Member Functions

 Transform2D ()
 Transform2D (const Vector2 &position, float angle, const Vector2 &scale)
 Construct from position, angle, scale.
 Transform2D (const Transform2D &other)
 Copy-construct from another transform.
Transform2Doperator= (const Transform2D &other)
 Assign from another transform.
Transform2D operator* (const Transform2D &other) const
 Multiply a transform.
Transform2D Lerp (const Transform2D &other, float t, int spin) const
 Linear interpolation with another transform.

Public Attributes

Vector2 position_
float angle_
Vector2 scale_

Detailed Description

2D Transform class for spriter animation.

The documentation for this struct was generated from the following files:
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Urho2D/Animation2D.h
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Urho2D/Animation2D.cpp