drawCoverVBL: Difference between revisions
Jump to navigation
Jump to search
Cold Ankles (talk | contribs) (Added drawCoverVBL) |
Cold Ankles (talk | contribs) (Copy/Paste foolishness) |
||
(One intermediate revision by the same user not shown) | |||
Line 12: | Line 12: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
This function works EXACTLY the same as {{func|eraseCoverVBL}} with the ONLY difference that drawCoverVBL draws the shapes on the | This function works EXACTLY the same as {{func|eraseCoverVBL}} with the ONLY difference that drawCoverVBL draws the shapes on the Cover Vision Blocking Layer and {{func|eraseCoverVBL}} erases them. | ||
'''Parameters''' | '''Parameters''' | ||
{{param|shapesList|A [[JSON Array]] of [[JSON Object|JSON objects]], one of the latter for each | {{param|shapesList|A [[JSON Array]] of [[JSON Object|JSON objects]], one of the latter for each Cover VBL shape. See {{func|drawVBL}} for a complete description of possible shapes}} | ||
|also= | |also= |
Latest revision as of 23:59, 10 February 2024
drawCoverVBL() Function
Note: This function can only be used in a Trusted Macro
• Introduced in version 1.15.0
Draws Cover Vision Blocking Layer (Cover VBL) shapes.
Usage
drawCoverVBL(shapeArray)
This function works EXACTLY the same as eraseCoverVBL() with the ONLY difference that drawCoverVBL draws the shapes on the Cover Vision Blocking Layer and eraseCoverVBL() erases them.
Parameters
shapesList
- A JSON Array of JSON objects, one of the latter for each Cover VBL shape. See drawVBL() for a complete description of possible shapes