File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -6100,6 +6100,9 @@ object you are working with still exists.
6100
6100
* `set_yaw(radians)`: sets the yaw (heading).
6101
6101
* `get_yaw()`: returns number in radians
6102
6102
* `set_texture_mod(mod)`
6103
+ * Set a texture modifier to the base texture, for sprites and meshes.
6104
+ * When calling `set_texture_mod` again, the previous one is discarded.
6105
+ * `mod` the texture modifier. See [Texture modifiers].
6103
6106
* `get_texture_mod()` returns current texture modifier
6104
6107
* `set_sprite(p, num_frames, framelength, select_x_by_camera)`
6105
6108
* Specifies and starts a sprite animation
@@ -6110,6 +6113,12 @@ object you are working with still exists.
6110
6113
* `framelength`: Time per animated frame in seconds, default: `0.2`
6111
6114
* `select_x_by_camera`: Only for visual = `sprite`. Changes the frame `x`
6112
6115
position according to the view direction. default: `false`.
6116
+ * First column: subject facing the camera
6117
+ * Second column: subject looking to the left
6118
+ * Third column: subject backing the camera
6119
+ * Fourth column: subject looking to the right
6120
+ * Fifth column: subject viewed from above
6121
+ * Sixth column: subject viewed from below
6113
6122
* `get_entity_name()` (**Deprecated**: Will be removed in a future version)
6114
6123
* `get_luaentity()`
6115
6124
You can’t perform that action at this time.
0 commit comments