Difference between revisions of "DRAW SPRITE"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | + | ||
{{Native | {{Native | ||
|np=10 | |np=10 |
Latest revision as of 23:52, 13 August 2020
Number of parameters: 10 | ||
---|---|---|
Parameter # | Type | Description |
1. | Integer | Texture |
2. | Float | X position (0-1) |
3. | Float | Y position (0-1) |
4. | Float | Width (0-1) |
5. | Float | Height (0-1) |
6. | Float | Rotation (0-360) |
7. | Integer | Red (0-255) |
8. | Integer | Green (0-255) |
9. | Integer | Blue (0-255) |
10. | Integer | Alpha (0-255) |
Return value: | ||
Type | Description | |
None |
This function draws sprite which can be get by using GET_TEXTURE or GET_TEXTURE_FROM_STREAMED_TXD.