mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Sync classref with current source
This commit is contained in:
@@ -87,6 +87,8 @@ enum **DrawFlags**:
|
||||
|
||||
- **FLAG_MAX** = **3** --- Represents the size of the :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` enum.
|
||||
|
||||
----
|
||||
|
||||
.. _enum_SpriteBase3D_AlphaCutMode:
|
||||
|
||||
.. _class_SpriteBase3D_constant_ALPHA_CUT_DISABLED:
|
||||
@@ -123,6 +125,8 @@ Property Descriptions
|
||||
| *Getter* | get_alpha_cut_mode() |
|
||||
+-----------+---------------------------+
|
||||
|
||||
----
|
||||
|
||||
.. _class_SpriteBase3D_property_axis:
|
||||
|
||||
- Vector3.Axis **axis**
|
||||
@@ -137,6 +141,8 @@ Property Descriptions
|
||||
|
||||
The direction in which the front of the texture faces.
|
||||
|
||||
----
|
||||
|
||||
.. _class_SpriteBase3D_property_billboard:
|
||||
|
||||
- :ref:`BillboardMode<enum_SpatialMaterial_BillboardMode>` **billboard**
|
||||
@@ -149,6 +155,8 @@ The direction in which the front of the texture faces.
|
||||
| *Getter* | get_billboard_mode() |
|
||||
+-----------+---------------------------+
|
||||
|
||||
----
|
||||
|
||||
.. _class_SpriteBase3D_property_centered:
|
||||
|
||||
- :ref:`bool<class_bool>` **centered**
|
||||
@@ -163,6 +171,8 @@ The direction in which the front of the texture faces.
|
||||
|
||||
If ``true``, texture will be centered.
|
||||
|
||||
----
|
||||
|
||||
.. _class_SpriteBase3D_property_double_sided:
|
||||
|
||||
- :ref:`bool<class_bool>` **double_sided**
|
||||
@@ -177,6 +187,8 @@ If ``true``, texture will be centered.
|
||||
|
||||
If ``true``, texture can be seen from the back as well, if ``false``, it is invisible when looking at it from behind.
|
||||
|
||||
----
|
||||
|
||||
.. _class_SpriteBase3D_property_flip_h:
|
||||
|
||||
- :ref:`bool<class_bool>` **flip_h**
|
||||
@@ -191,6 +203,8 @@ If ``true``, texture can be seen from the back as well, if ``false``, it is invi
|
||||
|
||||
If ``true``, texture is flipped horizontally.
|
||||
|
||||
----
|
||||
|
||||
.. _class_SpriteBase3D_property_flip_v:
|
||||
|
||||
- :ref:`bool<class_bool>` **flip_v**
|
||||
@@ -205,6 +219,8 @@ If ``true``, texture is flipped horizontally.
|
||||
|
||||
If ``true``, texture is flipped vertically.
|
||||
|
||||
----
|
||||
|
||||
.. _class_SpriteBase3D_property_modulate:
|
||||
|
||||
- :ref:`Color<class_Color>` **modulate**
|
||||
@@ -219,6 +235,8 @@ If ``true``, texture is flipped vertically.
|
||||
|
||||
A color value that gets multiplied on, could be used for mood-coloring or to simulate the color of light.
|
||||
|
||||
----
|
||||
|
||||
.. _class_SpriteBase3D_property_offset:
|
||||
|
||||
- :ref:`Vector2<class_Vector2>` **offset**
|
||||
@@ -233,6 +251,8 @@ A color value that gets multiplied on, could be used for mood-coloring or to sim
|
||||
|
||||
The texture's drawing offset.
|
||||
|
||||
----
|
||||
|
||||
.. _class_SpriteBase3D_property_opacity:
|
||||
|
||||
- :ref:`float<class_float>` **opacity**
|
||||
@@ -247,6 +267,8 @@ The texture's drawing offset.
|
||||
|
||||
The objects visibility on a scale from ``0`` fully invisible to ``1`` fully visible.
|
||||
|
||||
----
|
||||
|
||||
.. _class_SpriteBase3D_property_pixel_size:
|
||||
|
||||
- :ref:`float<class_float>` **pixel_size**
|
||||
@@ -261,6 +283,8 @@ The objects visibility on a scale from ``0`` fully invisible to ``1`` fully visi
|
||||
|
||||
The size of one pixel's width on the sprite to scale it in 3D.
|
||||
|
||||
----
|
||||
|
||||
.. _class_SpriteBase3D_property_shaded:
|
||||
|
||||
- :ref:`bool<class_bool>` **shaded**
|
||||
@@ -275,6 +299,8 @@ The size of one pixel's width on the sprite to scale it in 3D.
|
||||
|
||||
If ``true``, the :ref:`Light<class_Light>` in the :ref:`Environment<class_Environment>` has effects on the sprite.
|
||||
|
||||
----
|
||||
|
||||
.. _class_SpriteBase3D_property_transparent:
|
||||
|
||||
- :ref:`bool<class_bool>` **transparent**
|
||||
@@ -296,14 +322,20 @@ Method Descriptions
|
||||
|
||||
- :ref:`TriangleMesh<class_TriangleMesh>` **generate_triangle_mesh** **(** **)** const
|
||||
|
||||
----
|
||||
|
||||
.. _class_SpriteBase3D_method_get_draw_flag:
|
||||
|
||||
- :ref:`bool<class_bool>` **get_draw_flag** **(** :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` flag **)** const
|
||||
|
||||
----
|
||||
|
||||
.. _class_SpriteBase3D_method_get_item_rect:
|
||||
|
||||
- :ref:`Rect2<class_Rect2>` **get_item_rect** **(** **)** const
|
||||
|
||||
----
|
||||
|
||||
.. _class_SpriteBase3D_method_set_draw_flag:
|
||||
|
||||
- void **set_draw_flag** **(** :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` flag, :ref:`bool<class_bool>` enabled **)**
|
||||
|
||||
Reference in New Issue
Block a user