mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 11:32:13 +00:00
Merge pull request #98499 from tetrapod00/docs-dotnet-constructor-differences
Docs: Add notes about C# differences in Variant constructors
This commit is contained in:
commit
85c5a4f058
@ -25,6 +25,7 @@
|
||||
<return type="Basis" />
|
||||
<description>
|
||||
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>
|
||||
</constructor>
|
||||
<constructor name="Basis">
|
||||
|
@ -19,7 +19,7 @@
|
||||
<return type="Color" />
|
||||
<description>
|
||||
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>
|
||||
</constructor>
|
||||
<constructor name="Color">
|
||||
|
@ -14,7 +14,8 @@
|
||||
<constructor name="Projection">
|
||||
<return type="Projection" />
|
||||
<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>
|
||||
</constructor>
|
||||
<constructor name="Projection">
|
||||
|
@ -22,6 +22,7 @@
|
||||
<return type="Quaternion" />
|
||||
<description>
|
||||
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>
|
||||
</constructor>
|
||||
<constructor name="Quaternion">
|
||||
|
@ -20,6 +20,7 @@
|
||||
<return type="Transform2D" />
|
||||
<description>
|
||||
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>
|
||||
</constructor>
|
||||
<constructor name="Transform2D">
|
||||
|
@ -21,6 +21,7 @@
|
||||
<return type="Transform3D" />
|
||||
<description>
|
||||
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>
|
||||
</constructor>
|
||||
<constructor name="Transform3D">
|
||||
|
Loading…
Reference in New Issue
Block a user