Rectangle.toVertexBuffer() - Mtax-Development/GML-OOP GitHub Wiki

Arguments

Name
Type
Optional
location?
Yes
fill_color?
{int:color|Color2|Color4}
Yes
fill_alpha?
Yes
outline_size?
{int}
Yes
outline_color?
{int:color|Color2|Color4}
Yes
outline_alpha?
Yes
outline?
Yes
vertexBuffer?
Yes

Returns

{VertexBuffer.PrimitiveRenderData|

Description

Return rendering data of this constructor in a Vertex Buffer, using its current data or specified temporarily replaced parts. Multiple values can be returned in an array if separate Vertex Buffers were specified for fill and outline. Data for invisible or invalid render will be excluded.

⚠️ **GitHub.com Fallback** ⚠️