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

Arguments

Name
Type
Optional
location1?
Yes
location2?
Yes
location3?
Yes
fill_color?
{int:color|Color3}
Yes
fill_alpha?
Yes
outline_scale?
Yes
outline_color?
{int:color|Color2|Color3}
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** ⚠️