diff options
author | Vincent <vinsteimes@gmail.com> | 2021-09-01 01:17:33 +0200 |
---|---|---|
committer | Vincent <vinsteimes@gmail.com> | 2021-09-09 16:40:16 +0200 |
commit | 70108fd8509a09230933872c3042a7c7ef2545b8 (patch) | |
tree | 7f495cbb6e81b923b148a15a0b8fbb7e9a18ede2 /doc/classes | |
parent | 3174e2782c5bf7c56dbb7318d69289220c4ad753 (diff) |
implement individual mesh transform for meshlibrary items
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/MeshLibrary.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/classes/MeshLibrary.xml b/doc/classes/MeshLibrary.xml index 9e0292f946..1d07647ea7 100644 --- a/doc/classes/MeshLibrary.xml +++ b/doc/classes/MeshLibrary.xml @@ -45,6 +45,13 @@ Returns the item's mesh. </description> </method> + <method name="get_item_mesh_transform" qualifiers="const"> + <return type="Transform3D" /> + <argument index="0" name="id" type="int" /> + <description> + Returns the transform applied to the item's mesh. + </description> + </method> <method name="get_item_name" qualifiers="const"> <return type="String" /> <argument index="0" name="id" type="int" /> @@ -102,6 +109,14 @@ Sets the item's mesh. </description> </method> + <method name="set_item_mesh_transform"> + <return type="void" /> + <argument index="0" name="id" type="int" /> + <argument index="1" name="mesh_transform" type="Transform3D" /> + <description> + Sets the transform to apply to the item's mesh. + </description> + </method> <method name="set_item_name"> <return type="void" /> <argument index="0" name="id" type="int" /> |