SpriteRenderer.getPrimitiveRenderData() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
sprite? |
{Sprite} |
Yes |
location? |
Yes |
|
frame? |
{int} |
Yes |
scale? |
{Scale} |
Yes |
angle? |
{Angle} |
Yes |
color? |
Yes |
|
part? |
{Vector4} |
Yes |
origin? |
{Vector2} |
Yes |
{any[+]}
Return an array containg rendering data for each vertex rendered by this constructor, consisting of its primitive type, location, color and alpha value, based on the data of this constructor or its specified replaced parts.