mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 19:42:43 +00:00
Docs: Add note about C# differences in Variant constructors
This commit is contained in:
parent
1015a481ff
commit
c51cdaf006
@ -25,6 +25,7 @@
|
|||||||
<return type="Basis" />
|
<return type="Basis" />
|
||||||
<description>
|
<description>
|
||||||
Constructs a [Basis] identical to the [constant IDENTITY].
|
Constructs a [Basis] identical to the [constant IDENTITY].
|
||||||
|
[b]Note:[/b] In C#, this constructs a [Basis] with all of its components set to [constant Vector3.ZERO].
|
||||||
</description>
|
</description>
|
||||||
</constructor>
|
</constructor>
|
||||||
<constructor name="Basis">
|
<constructor name="Basis">
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
<return type="Color" />
|
<return type="Color" />
|
||||||
<description>
|
<description>
|
||||||
Constructs a default [Color] from opaque black. This is the same as [constant BLACK].
|
Constructs a default [Color] from opaque black. This is the same as [constant BLACK].
|
||||||
[b]Note:[/b] in C#, constructs an empty color with all of its components set to [code]0.0[/code] (transparent black).
|
[b]Note:[/b] In C#, this constructs a [Color] with all of its components set to [code]0.0[/code] (transparent black).
|
||||||
</description>
|
</description>
|
||||||
</constructor>
|
</constructor>
|
||||||
<constructor name="Color">
|
<constructor name="Color">
|
||||||
|
@ -14,7 +14,8 @@
|
|||||||
<constructor name="Projection">
|
<constructor name="Projection">
|
||||||
<return type="Projection" />
|
<return type="Projection" />
|
||||||
<description>
|
<description>
|
||||||
Constructs a default-initialized [Projection] set to [constant IDENTITY].
|
Constructs a default-initialized [Projection] identical to [constant IDENTITY].
|
||||||
|
[b]Note:[/b] In C#, this constructs a [Projection] identical to [constant ZERO].
|
||||||
</description>
|
</description>
|
||||||
</constructor>
|
</constructor>
|
||||||
<constructor name="Projection">
|
<constructor name="Projection">
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
<return type="Quaternion" />
|
<return type="Quaternion" />
|
||||||
<description>
|
<description>
|
||||||
Constructs a [Quaternion] identical to the [constant IDENTITY].
|
Constructs a [Quaternion] identical to the [constant IDENTITY].
|
||||||
|
[b]Note:[/b] In C#, this constructs a [Quaternion] with all of its components set to [code]0.0[/code].
|
||||||
</description>
|
</description>
|
||||||
</constructor>
|
</constructor>
|
||||||
<constructor name="Quaternion">
|
<constructor name="Quaternion">
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
<return type="Transform2D" />
|
<return type="Transform2D" />
|
||||||
<description>
|
<description>
|
||||||
Constructs a [Transform2D] identical to [constant IDENTITY].
|
Constructs a [Transform2D] identical to [constant IDENTITY].
|
||||||
|
[b]Note:[/b] In C#, this constructs a [Transform2D] with all of its components set to [constant Vector2.ZERO].
|
||||||
</description>
|
</description>
|
||||||
</constructor>
|
</constructor>
|
||||||
<constructor name="Transform2D">
|
<constructor name="Transform2D">
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
<return type="Transform3D" />
|
<return type="Transform3D" />
|
||||||
<description>
|
<description>
|
||||||
Constructs a [Transform3D] identical to the [constant IDENTITY].
|
Constructs a [Transform3D] identical to the [constant IDENTITY].
|
||||||
|
[b]Note:[/b] In C#, this constructs a [Transform3D] with its [member origin] and the components of its [member basis] set to [constant Vector3.ZERO].
|
||||||
</description>
|
</description>
|
||||||
</constructor>
|
</constructor>
|
||||||
<constructor name="Transform3D">
|
<constructor name="Transform3D">
|
||||||
|
Loading…
Reference in New Issue
Block a user