Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.render.enableScissorRect

C๐Ÿท๏ธ Render

Part of StarfallEx namespace

๐Ÿ”— External
render.enableScissorRect(startX, startY, endX, endY)
View on GitHub|lua/starfall/libs_cl/render.lua:775
๐Ÿ“‹ 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

NameTypeDescription
startXnumberX start coordinate of the scissor rect.
startYnumberY start coordinate of the scissor rect.
endXnumberX end coordinate of the scissor rect.
endYnumberY end coordinate of the scissor rect.

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.