mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Merge branch 'master' into 3.2
This commit is contained in:
@@ -80,7 +80,10 @@ integer, specifying the type of data:
|
||||
+--------+--------------------------+
|
||||
|
||||
Following this is the actual packet contents, which varies for each type
|
||||
of packet:
|
||||
of packet. Note that this assumes Godot is compiled with single precision
|
||||
floats. If instead doubles are used, the length of "Float" fields within
|
||||
data structures should be 8, and the offset should be (offset - 4) * 2 + 4.
|
||||
The "float" type itself is always double precision.
|
||||
|
||||
0: null
|
||||
~~~~~~~
|
||||
@@ -100,10 +103,10 @@ of packet:
|
||||
+----------+-------+-----------+--------------------------+
|
||||
| Offset | Len | Type | Description |
|
||||
+==========+=======+===========+==========================+
|
||||
| 4 | 4 | Integer | Signed, 32-Bit Integer |
|
||||
| 4 | 8 | Integer | Signed, 64-bit Integer |
|
||||
+----------+-------+-----------+--------------------------+
|
||||
|
||||
3: :ref:`float<class_float>`/real
|
||||
3: :ref:`float<class_float>`
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
+----------+-------+---------+-------------------------+
|
||||
@@ -167,21 +170,21 @@ This field is padded to 4 bytes.
|
||||
8: :ref:`Transform2D<class_transform2d>`
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
+----------+-------+---------+---------------+
|
||||
| Offset | Len | Type | Description |
|
||||
+==========+=======+=========+===============+
|
||||
| 4 | 4 | Float | [0][0] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 8 | 4 | Float | [0][1] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 12 | 4 | Float | [1][0] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 16 | 4 | Float | [1][1] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 20 | 4 | Float | [2][0] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 24 | 4 | Float | [2][1] |
|
||||
+----------+-------+---------+---------------+
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| Offset | Len | Type | Description |
|
||||
+==========+=======+=========+===============================================================+
|
||||
| 4 | 4 | Float | The X component of the X column vector, accessed via [0][0] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 8 | 4 | Float | The Y component of the X column vector, accessed via [0][1] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 12 | 4 | Float | The X component of the Y column vector, accessed via [1][0] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 16 | 4 | Float | The Y component of the Y column vector, accessed via [1][1] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 20 | 4 | Float | The X component of the origin vector, accessed via [2][0] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 24 | 4 | Float | The Y component of the origin vector, accessed via [2][1] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
|
||||
9: :ref:`Plane<class_plane>`
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -235,58 +238,58 @@ This field is padded to 4 bytes.
|
||||
12: :ref:`Basis<class_basis>`
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
+----------+-------+---------+---------------+
|
||||
| Offset | Len | Type | Description |
|
||||
+==========+=======+=========+===============+
|
||||
| 4 | 4 | Float | [0][0] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 8 | 4 | Float | [0][1] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 12 | 4 | Float | [0][2] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 16 | 4 | Float | [1][0] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 20 | 4 | Float | [1][1] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 24 | 4 | Float | [1][2] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 28 | 4 | Float | [2][0] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 32 | 4 | Float | [2][1] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 36 | 4 | Float | [2][2] |
|
||||
+----------+-------+---------+---------------+
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| Offset | Len | Type | Description |
|
||||
+==========+=======+=========+===============================================================+
|
||||
| 4 | 4 | Float | The X component of the X column vector, accessed via [0][0] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 8 | 4 | Float | The Y component of the X column vector, accessed via [0][1] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 12 | 4 | Float | The Z component of the X column vector, accessed via [0][2] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 16 | 4 | Float | The X component of the Y column vector, accessed via [1][0] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 20 | 4 | Float | The Y component of the Y column vector, accessed via [1][1] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 24 | 4 | Float | The Z component of the Y column vector, accessed via [1][2] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 28 | 4 | Float | The X component of the Z column vector, accessed via [2][0] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 32 | 4 | Float | The Y component of the Z column vector, accessed via [2][1] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 36 | 4 | Float | The Z component of the Z column vector, accessed via [2][2] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
|
||||
13: :ref:`Transform<class_transform>`
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
+----------+-------+---------+---------------+
|
||||
| Offset | Len | Type | Description |
|
||||
+==========+=======+=========+===============+
|
||||
| 4 | 4 | Float | [0][0] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 8 | 4 | Float | [0][1] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 12 | 4 | Float | [0][2] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 16 | 4 | Float | [1][0] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 20 | 4 | Float | [1][1] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 24 | 4 | Float | [1][2] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 28 | 4 | Float | [2][0] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 32 | 4 | Float | [2][1] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 36 | 4 | Float | [2][2] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 40 | 4 | Float | [3][0] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 44 | 4 | Float | [3][1] |
|
||||
+----------+-------+---------+---------------+
|
||||
| 48 | 4 | Float | [3][2] |
|
||||
+----------+-------+---------+---------------+
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| Offset | Len | Type | Description |
|
||||
+==========+=======+=========+===============================================================+
|
||||
| 4 | 4 | Float | The X component of the X column vector, accessed via [0][0] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 8 | 4 | Float | The Y component of the X column vector, accessed via [0][1] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 12 | 4 | Float | The Z component of the X column vector, accessed via [0][2] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 16 | 4 | Float | The X component of the Y column vector, accessed via [1][0] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 20 | 4 | Float | The Y component of the Y column vector, accessed via [1][1] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 24 | 4 | Float | The Z component of the Y column vector, accessed via [1][2] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 28 | 4 | Float | The X component of the Z column vector, accessed via [2][0] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 32 | 4 | Float | The Y component of the Z column vector, accessed via [2][1] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 36 | 4 | Float | The Z component of the Z column vector, accessed via [2][2] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 40 | 4 | Float | The X component of the origin vector, accessed via [3][0] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 44 | 4 | Float | The Y component of the origin vector, accessed via [3][1] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
| 48 | 4 | Float | The Z component of the origin vector, accessed via [3][2] |
|
||||
+----------+-------+---------+---------------------------------------------------------------+
|
||||
|
||||
14: :ref:`Color<class_color>`
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -408,7 +411,7 @@ The array data is padded to 4 bytes.
|
||||
+==================+=======+===========+===========================+
|
||||
| 4 | 4 |Integer | Array Length (Floats) |
|
||||
+------------------+-------+-----------+---------------------------+
|
||||
| 8..8+length\*4 | 4 |Integer | 32 Bits IEE 754 Float |
|
||||
| 8..8+length\*4 | 4 |Integer | 32 Bits IEEE 754 Float |
|
||||
+------------------+-------+-----------+---------------------------+
|
||||
|
||||
23: :ref:`PoolStringArray<class_poolstringarray>`
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
.. meta::
|
||||
:keywords: Signal
|
||||
|
||||
.. _doc_instancing_with_signals:
|
||||
|
||||
Instancing with signals
|
||||
|
||||
Reference in New Issue
Block a user