Documentation
Urho3D::Transform2D Struct Reference
2D Transform class for spriter animation. More...
#include <Animation2D.h>
Collaboration diagram for Urho3D::Transform2D:
Public Member Functions | |
| Transform2D () | |
| Construct. | |
| Transform2D (const Vector2 &position, float angle, const Vector2 &scale) | |
| Construct from position, angle, scale. | |
| Transform2D (const Transform2D &other) | |
| Copy-construct from another transform. | |
| Transform2D & | operator= (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_ |
| Position. | |
| float | angle_ |
| Angle. | |
| Vector2 | scale_ |
| 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
