Point.getPrimitiveRenderData() - Mtax-Development/GML-OOP GitHub Wiki

Arguments

Name
Type
Optional
location?
Yes
color?
{int:color}
Yes
alpha?
Yes

Returns

{any[+]} | On error: {undefined}

Description

Return an array containg rendering data for vertex resulting in this Shape, consisting of its primitive type, location, color and alpha value, based on the data of this constructor or its specified replaced parts. Each will be represented at following array positions:
  • array[0]: primitive type {constant:pr_*}
  • array[1]: vertex data {any[]}
  • array[1][0]: location {real[]}
  • array[1][1]: color {int:color}
  • array[1][2]: alpha {real}

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