remove optional by pointer texture_region parameters
This commit is contained in:
@ -59,7 +59,7 @@
|
||||
"params": [
|
||||
{ "name": "texture", "type": "char *" },
|
||||
{ "name": "rect", "type": "Rect" },
|
||||
{ "name": "texture_region", "type": "Rect *", "default": {} },
|
||||
{ "name": "texture_region", "type": "Rect", "default": { "x": 0, "y": 0, "w": 0, "h": 0 } },
|
||||
{ "name": "color", "type": "Color", "default": { "r": 255, "g": 255, "b": 255, "a": 255 } },
|
||||
{ "name": "rotation", "type": "float", "default": 0.0 },
|
||||
{ "name": "flip_x", "type": "bool", "default": false },
|
||||
@ -180,7 +180,7 @@
|
||||
{ "name": "texture", "type": "char *" },
|
||||
{ "name": "position", "type": "Vec3" },
|
||||
{ "name": "size", "type": "Vec2" },
|
||||
{ "name": "texture_region", "type": "Rect *", "default": {} },
|
||||
{ "name": "texture_region", "type": "Rect", "default": { "x": 0, "y": 0, "w": 0, "h": 0 } },
|
||||
{ "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