Part of StarfallEx namespace
๐ External
render.enableScissorRect(startX, startY, endX, endY)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Enables a scissoring rect which limits the drawing area. Only works 2D contexts such as HUD or render targets.
Parameters
| Name | Type | Description |
|---|---|---|
startX | number | X start coordinate of the scissor rect. |
startY | number | Y start coordinate of the scissor rect. |
endX | number | X end coordinate of the scissor rect. |
endY | number | Y end coordinate of the scissor rect. |
Returns
No return values documented.
Examples
No examples available.
Used In
No usages found in the codebase.