Difference between revisions of "ImGui.DrawList:getCurveTessellationTol"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2020.9<br/> '''Class:''' ImGui.DrawList<br/> === Description === Gets the tessellation tolerance when using PathBezierCurveTo() w...") |
m (Text replacement - "<source" to "<syntaxhighlight") |
||
Line 5: | Line 5: | ||
=== Description === | === 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. | 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. | ||
− | < | + | <syntaxhighlight lang="lua"> |
(number) = ImGui.DrawList:getCurveTessellationTol() | (number) = ImGui.DrawList:getCurveTessellationTol() | ||
</source> | </source> | ||
Line 13: | Line 13: | ||
=== Example === | === Example === | ||
− | < | + | <syntaxhighlight lang="lua"> |
</source> | </source> | ||
{{ImGui.DrawList}} | {{ImGui.DrawList}} |
Revision as of 15:28, 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. <syntaxhighlight lang="lua"> (number) = ImGui.DrawList:getCurveTessellationTol() </source>
Return values
Returns (number) the curve tessellation tolerance
Example
<syntaxhighlight lang="lua"> </source>