diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-20 14:33:09 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-20 14:33:09 +1000 |
commit | 6352e8e3196f78388b6c771073f9e03eaa612673 (patch) | |
tree | e23772f79a7fbc41bc9108951e9e136857484bf4 /doc/lua/scriptedanimator.md | |
parent | 6741a057e5639280d85d0f88ba26f000baa58f61 (diff) |
everything everywhere
all at once
Diffstat (limited to 'doc/lua/scriptedanimator.md')
-rw-r--r-- | doc/lua/scriptedanimator.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/lua/scriptedanimator.md b/doc/lua/scriptedanimator.md new file mode 100644 index 0000000..f714bd1 --- /dev/null +++ b/doc/lua/scriptedanimator.md @@ -0,0 +1,23 @@ +# animationConfig + +The `animationConfig` table contains functions for getting configuration options from the base entity and its networked animator. + +It is available only in client side rendering scripts. + +--- + +#### `Json` animationConfig.animationParameter(`String` key) + +Returns a networked value set by the parent entity's master script. + +--- + +#### `Vec2F` animationConfig.partPoint(`String` partName, `String` propertyName) + +Returns a `Vec2F` configured in a part's properties with all of the part's transformations applied to it. + +--- + +#### `PolyF` animationConfig.partPoly(`String` partName, `String` propertyName) + +Returns a `PolyF` configured in a part's properties with all the part's transformations applied to it. |