Merge pull request #103111 from rt9391/rt9391
Fix CanvasLayer 'Follow Viewport' documentation to match its behavior
This commit is contained in:
commit
19b9c035bd
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@
|
|||
The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/code], uses the default viewport instead.
|
||||
</member>
|
||||
<member name="follow_viewport_enabled" type="bool" setter="set_follow_viewport" getter="is_following_viewport" default="false">
|
||||
If enabled, the [CanvasLayer] stays in a fixed position on the screen. If disabled, the [CanvasLayer] maintains its position in world space.
|
||||
If enabled, the [CanvasLayer] maintains its position in world space. If disabled, the [CanvasLayer] stays in a fixed position on the screen.
|
||||
Together with [member follow_viewport_scale], this can be used for a pseudo-3D effect.
|
||||
</member>
|
||||
<member name="follow_viewport_scale" type="float" setter="set_follow_viewport_scale" getter="get_follow_viewport_scale" default="1.0">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue