Video_set_source_region - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Description
Sets the source rectangle of the given video.
Parameters
| 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 |
Return Values
void: This function does not return anything.
Example Call
// demonstrates setting the source region of a video
video_set_source_region(0, 0, window_get_width(), window_get_height());
NOTOC