mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
b68dd2e189
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
18 lines
673 B
XML
18 lines
673 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualScriptWhile" inherits="VisualScriptNode" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
|
<brief_description>
|
|
Conditional loop.
|
|
</brief_description>
|
|
<description>
|
|
Loops while a condition is [code]true[/code]. Execution continues out the [code]exit[/code] Sequence port when the loop terminates.
|
|
[b]Input Ports:[/b]
|
|
- Sequence: [code]while(cond)[/code]
|
|
- Data (bool): [code]cond[/code]
|
|
[b]Output Ports:[/b]
|
|
- Sequence: [code]repeat[/code]
|
|
- Sequence: [code]exit[/code]
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
</class>
|