twn_draw: texture_region option for draw_billboard()

This commit is contained in:
veclavtalica
2025-02-15 22:42:14 +03:00
parent 793bd850f6
commit 5a83381ae1
5 changed files with 34 additions and 11 deletions

View File

@ -180,6 +180,7 @@
{ "name": "texture", "type": "char *" },
{ "name": "position", "type": "Vec3" },
{ "name": "size", "type": "Vec2" },
{ "name": "texture_region", "type": "Rect *", "default": {} },
{ "name": "color", "type": "Color", "default": { "r": 255, "g": 255, "b": 255, "a": 255 } },
{ "name": "cylindrical", "type": "bool", "default": false }
]