-
Notifications
You must be signed in to change notification settings - Fork 0
Video_set_source_region
hpgDesigns edited this page Aug 8, 2021
·
1 revision
Sets the source rectangle of the given video.
| Parameter | Data Type | Description |
|---|---|---|
| id | integer | index of the video |
| x | long | x coordinate of the top-left position of the region |
| y | long | y coordinate |
| w | long | width of the region |
| h | long | height of the region |
void: This function does not return anything.
// demonstrates setting the source region of a video
video_set_source_region(0, 0, window_get_width(), window_get_height());
NOTOC
This is number 1