Difference between revisions of "ImGui.DrawList:getCurveTessellationTol"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 7: | Line 7: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
(number) = ImGui.DrawList:getCurveTessellationTol() | (number) = ImGui.DrawList:getCurveTessellationTol() | ||
− | </ | + | </syntaxhighlight> |
=== Return values === | === Return values === | ||
Line 14: | Line 14: | ||
=== Example === | === Example === | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
− | </ | + | </syntaxhighlight> |
{{ImGui.DrawList}} | {{ImGui.DrawList}} |
Latest revision as of 15:29, 13 July 2023
Available since: Gideros 2020.9
Class: ImGui.DrawList
Description
Gets the tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality.
(number) = ImGui.DrawList:getCurveTessellationTol()
Return values
Returns (number) the curve tessellation tolerance
Example