Clean up more [b]Example:[/b] lines from the class reference
This commit is contained in:
parent
835808ed8f
commit
932b1c434c
29 changed files with 60 additions and 65 deletions
|
|
@ -303,7 +303,7 @@
|
|||
<param index="1" name="weight" type="float" />
|
||||
<description>
|
||||
Performs a spherical-linear interpolation with the [param to] basis, given a [param weight]. Both this basis and [param to] should represent a rotation.
|
||||
[b]Example:[/b] Smoothly rotate a [Node3D] to the target basis over time, with a [Tween].
|
||||
[b]Example:[/b] Smoothly rotate a [Node3D] to the target basis over time, with a [Tween]:
|
||||
[codeblock]
|
||||
var start_basis = Basis.IDENTITY
|
||||
var target_basis = Basis.IDENTITY.rotated(Vector3.UP, TAU / 2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue