From d9d1a91c5f84458408f02c30489890f0a8e87bc6 Mon Sep 17 00:00:00 2001 From: Chris Bradfield Date: Mon, 1 Oct 2018 15:20:18 -0700 Subject: [PATCH] [DOCS] Update VisibilityEnabler* and TileSet doc (cherry picked from commit 49549ce93cb8a37b18c632c3ee29c63a82e37958) --- doc/classes/TileSet.xml | 27 ++++++++++++++++++--------- doc/classes/VisibilityEnabler.xml | 2 ++ doc/classes/VisibilityEnabler2D.xml | 6 ++++++ 3 files changed, 26 insertions(+), 9 deletions(-) diff --git a/doc/classes/TileSet.xml b/doc/classes/TileSet.xml index d6841ec02d6..d3703c02f93 100644 --- a/doc/classes/TileSet.xml +++ b/doc/classes/TileSet.xml @@ -67,7 +67,7 @@ - Creates a new tile which will be referenced by the given ID. + Creates a new tile with the given ID. @@ -99,7 +99,7 @@ - Removes the tile referenced by the given ID. + Removes the given tile ID. @@ -116,6 +116,7 @@ + Adds a shape to the tile. @@ -124,7 +125,7 @@ - Returns the light occluder of the tile. + Returns the tile's light occluder. @@ -133,7 +134,7 @@ - Returns the material of the tile. + Returns the tile's material. @@ -142,7 +143,7 @@ - Returns the name of the tile. + Returns the tile's name. @@ -169,6 +170,7 @@ + Returns the tile's normal map texture. @@ -197,6 +199,7 @@ + Returns a tile's given shape. @@ -205,6 +208,7 @@ + Returns the number of shapes assigned to a tile. @@ -215,6 +219,7 @@ + Returns the one-way collision value of a tile's shape. @@ -225,6 +230,7 @@ + Returns the [Transform2D] of a tile's sahpe. @@ -233,7 +239,7 @@ - Returns the array of shapes of the tile. + Returns an array of the tile's shapes. @@ -242,7 +248,7 @@ - Returns the texture of the tile. + Returns the tile's texture. @@ -328,7 +334,7 @@ - Set an offset for the tile's light occluder. + Sets an offset for the tile's light occluder. @@ -339,7 +345,7 @@ - Set the tile's sub-region in the texture. This is common in texture atlases. + Sets the tile's sub-region in the texture. This is common in texture atlases. @@ -352,6 +358,7 @@ + Sets a shape for the tile, enabling collision. @@ -364,6 +371,7 @@ + Enables one-way collision on a tile's shape. @@ -376,6 +384,7 @@ + Sets a [Transform2D] on a tile's shape. diff --git a/doc/classes/VisibilityEnabler.xml b/doc/classes/VisibilityEnabler.xml index a4d47152e6b..449185be6ce 100644 --- a/doc/classes/VisibilityEnabler.xml +++ b/doc/classes/VisibilityEnabler.xml @@ -14,8 +14,10 @@ + If [code]true[/code] [RigidBody] nodes will be paused. + If [code]true[/code] [AnimationPlayer] nodes will be paused. diff --git a/doc/classes/VisibilityEnabler2D.xml b/doc/classes/VisibilityEnabler2D.xml index 2d7f4e33946..294d9a87e1d 100644 --- a/doc/classes/VisibilityEnabler2D.xml +++ b/doc/classes/VisibilityEnabler2D.xml @@ -14,16 +14,22 @@ + If [code]true[/code] [RigidBody2D] nodes will be paused. + If [code]true[/code] [AnimatedSprite] nodes will be paused. + If [code]true[/code] [AnimationPlayer] nodes will be paused. + If [code]true[/code] [Particles2D] nodes will be paused. + If [code]true[/code] the parent's [method Node._physics_process] will be stopped. + If [code]true[/code] the parent's [method Node._process] will be stopped.