twn_draw: texture_region option for draw_billboard()
This commit is contained in:
@ -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 }
|
||||
]
|
||||
|
Reference in New Issue
Block a user