diff options
author | pommicket <pommicket@gmail.com> | 2023-08-30 00:15:41 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-30 00:15:41 -0400 |
commit | eaff50ee1fb64f236ba715d2099a3a3011280c08 (patch) | |
tree | 03fc35f5ce8d39438008de73e68b3281467774d9 /guide-src/widget-inputs/syntax.html | |
parent | e226bef8253d50db7c1622aacaf5964f1d505359 (diff) |
change up guide a bit
Diffstat (limited to 'guide-src/widget-inputs/syntax.html')
-rw-r--r-- | guide-src/widget-inputs/syntax.html | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/guide-src/widget-inputs/syntax.html b/guide-src/widget-inputs/syntax.html deleted file mode 100644 index 8026b33..0000000 --- a/guide-src/widget-inputs/syntax.html +++ /dev/null @@ -1,16 +0,0 @@ ---- syntax -<p> -here are the various ways of specifying widget inputs: -</p> -<table> -<tbody> -<tr><th style="min-width:10em;">format</th><th>example</th><th>description</th></tr> -<tr><td><code><number></code></td><td><code>5.3</code></td><td>a number</td></tr> -<tr><td><code>#RRGGBB</code></td><td><code>#ff831c</code></td><td>a 3-component vector whose values are taken from the given color code. a color picker will be shown next to the input.</td></tr> -<tr><td><code>#RRGGBBAA</code></td><td><code>#ff831c22</code></td><td>a 4-component vector whose values are taken from the color code.</td></tr> -<tr><td><code><widget name></code></td><td><code>add1</code></td><td>the output from another widget</td></tr> -<tr><td><code><input>,<input></code></td><td><code>.pos,0</code></td><td>a vector composed of <code>a</code> and <code>b</code> (which can themselves be vectors)</td></tr> -<tr><td><code><input>.<component></code></td><td><code>.pos.x</code></td><td>extract a single component from a vector</td></tr> -<tr><td><code><input>.<swizzle></code></td><td><code>.pos.yxy</code></td><td>reorder vector components (this example is equivalent to <code>.pos.y, .pos.x, .pos.y</code>)</td></tr> -</tbody> -</table> |