[Doc] Fix Parallax2D use of closer/further
This commit is contained in:
parent
fe01776f05
commit
22c26100df
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@
|
||||||
</member>
|
</member>
|
||||||
<member name="scroll_scale" type="Vector2" setter="set_scroll_scale" getter="get_scroll_scale" default="Vector2(1, 1)">
|
<member name="scroll_scale" type="Vector2" setter="set_scroll_scale" getter="get_scroll_scale" default="Vector2(1, 1)">
|
||||||
Multiplier to the final [Parallax2D]'s offset. Can be used to simulate distance from the camera.
|
Multiplier to the final [Parallax2D]'s offset. Can be used to simulate distance from the camera.
|
||||||
For example, a value of [code]1[/code] scrolls at the same speed as the camera. A value greater than [code]1[/code] scrolls faster, making objects appear closer. Less than [code]1[/code] scrolls slower, making object appear closer and a value of [code]0[/code] stops the objects completely.
|
For example, a value of [code]1[/code] scrolls at the same speed as the camera. A value greater than [code]1[/code] scrolls faster, making objects appear closer. Less than [code]1[/code] scrolls slower, making objects appear further, and a value of [code]0[/code] stops the objects completely.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
</class>
|
</class>
|
||||||
|
|
Loading…
Reference in a new issue