diff --git a/doc/classes/Camera2D.xml b/doc/classes/Camera2D.xml index 9e8bce3c3ff..76e60418ecd 100644 --- a/doc/classes/Camera2D.xml +++ b/doc/classes/Camera2D.xml @@ -35,13 +35,15 @@ - Returns the camera position. + Returns the camera's [code]position[/code] (the tracked point the camera attempts to follow), relative to the origin. + [b]Note:[/b] The returned value is not the same as [member Node2D.position] or [member Node2D.global_position], as it is affected by the [code]drag[/code] properties. Returns the location of the [Camera2D]'s screen-center, relative to the origin. + [b]Note:[/b] The real [code]position[/code] of the camera may be different, see [method get_camera_position]. @@ -68,7 +70,7 @@ Sets the camera's position immediately to its current smoothing destination. - This has no effect if smoothing is disabled. + This method has no effect if [member smoothing_enabled] is [code]false[/code]. @@ -136,7 +138,7 @@ If [code]true[/code], the camera smoothly stops when reaches its limits. - This has no effect if smoothing is disabled. + This property has no effect if [member smoothing_enabled] is [code]false[/code]. [b]Note:[/b] To immediately update the camera's position to be within limits without smoothing, even with this setting enabled, invoke [method reset_smoothing]. @@ -157,7 +159,7 @@ The camera's process callback. See [enum Camera2DProcessMode]. - If [code]true[/code], the camera rotates with the target. + If [code]true[/code], the camera view rotates with the target. If [code]true[/code], the camera smoothly moves towards the target at [member smoothing_speed].