mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 17:28:58 +00:00
Sync classref with current source
This commit is contained in:
+19
-15
@@ -19,11 +19,11 @@ A color interpolator resource which can be used to generate colors between user-
|
||||
Properties
|
||||
----------
|
||||
|
||||
+---------------------------------------------+-------------------------------------------------+
|
||||
| :ref:`PoolColorArray<class_PoolColorArray>` | :ref:`colors<class_Gradient_property_colors>` |
|
||||
+---------------------------------------------+-------------------------------------------------+
|
||||
| :ref:`PoolRealArray<class_PoolRealArray>` | :ref:`offsets<class_Gradient_property_offsets>` |
|
||||
+---------------------------------------------+-------------------------------------------------+
|
||||
+---------------------------------------------+-------------------------------------------------+------------------------------------------+
|
||||
| :ref:`PoolColorArray<class_PoolColorArray>` | :ref:`colors<class_Gradient_property_colors>` | PoolColorArray( 0, 0, 0, 1, 1, 1, 1, 1 ) |
|
||||
+---------------------------------------------+-------------------------------------------------+------------------------------------------+
|
||||
| :ref:`PoolRealArray<class_PoolRealArray>` | :ref:`offsets<class_Gradient_property_offsets>` | PoolRealArray( 0, 1 ) |
|
||||
+---------------------------------------------+-------------------------------------------------+------------------------------------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
@@ -58,11 +58,13 @@ Property Descriptions
|
||||
|
||||
- :ref:`PoolColorArray<class_PoolColorArray>` **colors**
|
||||
|
||||
+----------+-------------------+
|
||||
| *Setter* | set_colors(value) |
|
||||
+----------+-------------------+
|
||||
| *Getter* | get_colors() |
|
||||
+----------+-------------------+
|
||||
+-----------+------------------------------------------+
|
||||
| *Default* | PoolColorArray( 0, 0, 0, 1, 1, 1, 1, 1 ) |
|
||||
+-----------+------------------------------------------+
|
||||
| *Setter* | set_colors(value) |
|
||||
+-----------+------------------------------------------+
|
||||
| *Getter* | get_colors() |
|
||||
+-----------+------------------------------------------+
|
||||
|
||||
Gradient's colors returned as a :ref:`PoolColorArray<class_PoolColorArray>`.
|
||||
|
||||
@@ -70,11 +72,13 @@ Gradient's colors returned as a :ref:`PoolColorArray<class_PoolColorArray>`.
|
||||
|
||||
- :ref:`PoolRealArray<class_PoolRealArray>` **offsets**
|
||||
|
||||
+----------+--------------------+
|
||||
| *Setter* | set_offsets(value) |
|
||||
+----------+--------------------+
|
||||
| *Getter* | get_offsets() |
|
||||
+----------+--------------------+
|
||||
+-----------+-----------------------+
|
||||
| *Default* | PoolRealArray( 0, 1 ) |
|
||||
+-----------+-----------------------+
|
||||
| *Setter* | set_offsets(value) |
|
||||
+-----------+-----------------------+
|
||||
| *Getter* | get_offsets() |
|
||||
+-----------+-----------------------+
|
||||
|
||||
Gradient's offsets returned as a :ref:`PoolRealArray<class_PoolRealArray>`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user