Anim 0.1
|
A 2d transform, a node in a transform tree. More...
#include <Transform2d.h>
Public Member Functions | |
Transform2d (gef::Vector2 const &translation, float const rotationDegrees=0, gef::Vector2 const &scale=gef::Vector2::kOne) | |
Transform2d (Transform2d const &other)=delete | |
Transform2d (Transform2d &&other) noexcept | |
Transform2d & | operator= (Transform2d const &other) |
Transform2d & | operator= (Transform2d &&other) noexcept |
Transform2d | CopyTransformMatrix () const |
void | SetParent (Transform2d const &parent) |
gef::Matrix33 | GetWorldTransform () const |
gef::Matrix33 | GetLocalTransform () const |
void | SetToIdentity () |
void | SetPosition (gef::Vector2 const &translation) |
void | SetScale (gef::Vector2 const &scale) |
void | SetRotationDegrees (float const degrees) |
void | ChangeTranslation (gef::Vector2 const &translation) |
void | ChangeRotationDegrees (float degrees) |
bool | IsRoot () const |
Transform2d const & | GetParent () const |
void | SetFrom (Transform2d const &transform) |
gef::Vector2 | GetLocalPosition () const |
gef::Vector2 | GetLocalScale () const |
float | GetLocalRotationDegrees () const |
void | CreateFromParsedData (std::unique_ptr< FileParsing::JsonResult > const &data, std::string const &name="transform") |
A 2d transform, a node in a transform tree.
|
inline |