Merge pull request #61598 from timothyqiu/doc-fixes
This commit is contained in:
commit
c8552e0a90
@ -9,7 +9,7 @@
|
|||||||
[codeblock]
|
[codeblock]
|
||||||
var array = [PoolByteArray()]
|
var array = [PoolByteArray()]
|
||||||
array[0].push_back(123)
|
array[0].push_back(123)
|
||||||
print(array) # [[]] (empty PoolByteArray within an empty Array)
|
print(array) # [[]] (empty PoolByteArray within an Array)
|
||||||
[/codeblock]
|
[/codeblock]
|
||||||
Instead, the entire [PoolByteArray] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed:
|
Instead, the entire [PoolByteArray] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed:
|
||||||
[codeblock]
|
[codeblock]
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
[codeblock]
|
[codeblock]
|
||||||
var array = [PoolColorArray()]
|
var array = [PoolColorArray()]
|
||||||
array[0].push_back(Color(0.1, 0.2, 0.3, 0.4))
|
array[0].push_back(Color(0.1, 0.2, 0.3, 0.4))
|
||||||
print(array) # [[]] (empty PoolColorArray within an empty Array)
|
print(array) # [[]] (empty PoolColorArray within an Array)
|
||||||
[/codeblock]
|
[/codeblock]
|
||||||
Instead, the entire [PoolColorArray] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed:
|
Instead, the entire [PoolColorArray] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed:
|
||||||
[codeblock]
|
[codeblock]
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
[codeblock]
|
[codeblock]
|
||||||
var array = [PoolIntArray()]
|
var array = [PoolIntArray()]
|
||||||
array[0].push_back(1234)
|
array[0].push_back(1234)
|
||||||
print(array) # [[]] (empty PoolIntArray within an empty Array)
|
print(array) # [[]] (empty PoolIntArray within an Array)
|
||||||
[/codeblock]
|
[/codeblock]
|
||||||
Instead, the entire [PoolIntArray] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed:
|
Instead, the entire [PoolIntArray] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed:
|
||||||
[codeblock]
|
[codeblock]
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
[codeblock]
|
[codeblock]
|
||||||
var array = [PoolRealArray()]
|
var array = [PoolRealArray()]
|
||||||
array[0].push_back(12.34)
|
array[0].push_back(12.34)
|
||||||
print(array) # [[]] (empty PoolRealArray within an empty Array)
|
print(array) # [[]] (empty PoolRealArray within an Array)
|
||||||
[/codeblock]
|
[/codeblock]
|
||||||
Instead, the entire [PoolRealArray] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed:
|
Instead, the entire [PoolRealArray] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed:
|
||||||
[codeblock]
|
[codeblock]
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
[codeblock]
|
[codeblock]
|
||||||
var array = [PoolStringArray()]
|
var array = [PoolStringArray()]
|
||||||
array[0].push_back("hello")
|
array[0].push_back("hello")
|
||||||
print(array) # [[]] (empty PoolStringArray within an empty Array)
|
print(array) # [[]] (empty PoolStringArray within an Array)
|
||||||
[/codeblock]
|
[/codeblock]
|
||||||
Instead, the entire [PoolStringArray] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed:
|
Instead, the entire [PoolStringArray] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed:
|
||||||
[codeblock]
|
[codeblock]
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
[codeblock]
|
[codeblock]
|
||||||
var array = [PoolVector2Array()]
|
var array = [PoolVector2Array()]
|
||||||
array[0].push_back(Vector2(12, 34))
|
array[0].push_back(Vector2(12, 34))
|
||||||
print(array) # [[]] (empty PoolVector2Array within an empty Array)
|
print(array) # [[]] (empty PoolVector2Array within an Array)
|
||||||
[/codeblock]
|
[/codeblock]
|
||||||
Instead, the entire [PoolVector2Array] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed:
|
Instead, the entire [PoolVector2Array] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed:
|
||||||
[codeblock]
|
[codeblock]
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
[codeblock]
|
[codeblock]
|
||||||
var array = [PoolVector3Array()]
|
var array = [PoolVector3Array()]
|
||||||
array[0].push_back(Vector3(12, 34, 56))
|
array[0].push_back(Vector3(12, 34, 56))
|
||||||
print(array) # [[]] (empty PoolVector3Array within an empty Array)
|
print(array) # [[]] (empty PoolVector3Array within an Array)
|
||||||
[/codeblock]
|
[/codeblock]
|
||||||
Instead, the entire [PoolVector3Array] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed:
|
Instead, the entire [PoolVector3Array] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed:
|
||||||
[codeblock]
|
[codeblock]
|
||||||
|
@ -108,7 +108,7 @@
|
|||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="angular_damp" type="float" setter="set_angular_damp" getter="get_angular_damp" default="-1.0">
|
<member name="angular_damp" type="float" setter="set_angular_damp" getter="get_angular_damp" default="-1.0">
|
||||||
Damps RigidBody's rotational forces. If this value is different from -1.0 it will be added to any linear damp derived from the world or areas.
|
Damps the body's rotational forces. If this value is different from -1.0 it will be added to any angular damp derived from the world or areas.
|
||||||
See [member ProjectSettings.physics/3d/default_angular_damp] for more details about damping.
|
See [member ProjectSettings.physics/3d/default_angular_damp] for more details about damping.
|
||||||
</member>
|
</member>
|
||||||
<member name="angular_velocity" type="Vector3" setter="set_angular_velocity" getter="get_angular_velocity" default="Vector3( 0, 0, 0 )">
|
<member name="angular_velocity" type="Vector3" setter="set_angular_velocity" getter="get_angular_velocity" default="Vector3( 0, 0, 0 )">
|
||||||
|
Loading…
Reference in New Issue
Block a user