TOP-LEFT
BOTTOM-LEFT
TOP-RIGHT
BOTTOM-RIGHT
Returns a matrix representing x,y,rotation, scale.
It is also possible to have a manual matrix which ignores those values.
Setting a matrix will disable the usage of: x, y, scaleX, etc. and instead the given matrix will be used.
To get back to the usage of the standard behavior use useStandardMatrix().
Creates a full world matrix meaning all parent matrices.
This is not cached. Use with care.
Generated using TypeDoc
Basically a textured QUAD.
const bmp = new BitmapElement(someTex);
// this is in the coord space of the texture // will not change the RECT of the BitmapElement itself bmp.setSourceRect(0,0, 100, 100);
// this will define a new source rect but also // the size. bmp.setSourceRectAndSize(0,0, 100, 100);