diff options
author | groud <gilles.roudiere@gmail.com> | 2019-01-25 19:21:23 +0100 |
---|---|---|
committer | Gilles Roudière <gilles.roudiere@gmail.com> | 2019-07-27 13:05:02 +0200 |
commit | 11cb4eb3638b0f97e1efde1ac54a3c7a94ea9d1b (patch) | |
tree | 1ec767bcbfeb83670b0ddd08e6b2c06935a6f3a4 /doc | |
parent | 94aabf56a0a22df689bc57c71981c0008eb40464 (diff) |
Add frame_cords accessors to Sprite and Sprite3D
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Sprite.xml | 3 | ||||
-rw-r--r-- | doc/classes/Sprite3D.xml | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/Sprite.xml b/doc/classes/Sprite.xml index e5aea961f4..35db0b3762 100644 --- a/doc/classes/Sprite.xml +++ b/doc/classes/Sprite.xml @@ -46,6 +46,9 @@ <member name="frame" type="int" setter="set_frame" getter="get_frame" default="0"> Current frame to display from sprite sheet. [member vframes] or [member hframes] must be greater than 1. </member> + <member name="frame_coords" type="Vector2" setter="set_frame_coords" getter="get_frame_coords"> + Coordinates of the frame to display from sprite sheet. This is as an alias for the [member frame] property. [member vframes] or [member hframes] must be greater than 1. + </member> <member name="hframes" type="int" setter="set_hframes" getter="get_hframes" default="1"> The number of columns in the sprite sheet. </member> diff --git a/doc/classes/Sprite3D.xml b/doc/classes/Sprite3D.xml index 9a51302bf1..be15b066aa 100644 --- a/doc/classes/Sprite3D.xml +++ b/doc/classes/Sprite3D.xml @@ -14,6 +14,9 @@ <member name="frame" type="int" setter="set_frame" getter="get_frame" default="0"> Current frame to display from sprite sheet. [member vframes] or [member hframes] must be greater than 1. </member> + <member name="frame_coords" type="Vector2" setter="set_frame_coords" getter="get_frame_coords"> + Coordinates of the frame to display from sprite sheet. This is as an alias for the [member frame] property. [member vframes] or [member hframes] must be greater than 1. + </member> <member name="hframes" type="int" setter="set_hframes" getter="get_hframes" default="1"> The number of columns in the sprite sheet. </member> |