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

Arguments

Name
Type
Optional
location?
Yes
scale?
Yes
angle?
Yes
sprite?
Yes

Returns

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

Description

Return an array containg rendering data for each vertex resulting in this Shape, consisting of its primitive type, location and UV of each vertex, using its current data or temporarily replaced parts. Data will be represented at following array positions:
  • array[0]: primitive type {constant:pr_*}
  • array[1]: vertex locations {real[+]}
  • array[2]: texture data {any[+]}

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