From 49549ce93cb8a37b18c632c3ee29c63a82e37958 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 --- doc/classes/TileSet.xml | 32 +++++++++++++++++++++-------- doc/classes/VisibilityEnabler.xml | 2 ++ doc/classes/VisibilityEnabler2D.xml | 6 ++++++ 3 files changed, 31 insertions(+), 9 deletions(-) diff --git a/doc/classes/TileSet.xml b/doc/classes/TileSet.xml index b98161e48373..3f0d6317a60b 100644 --- a/doc/classes/TileSet.xml +++ b/doc/classes/TileSet.xml @@ -85,7 +85,7 @@ - Creates a new tile which will be referenced by the given ID. + Creates a new tile with the given ID. @@ -117,7 +117,7 @@ - Removes the tile referenced by the given ID. + Removes the given tile ID. @@ -134,6 +134,7 @@ + Adds a shape to the tile. @@ -142,7 +143,7 @@ - Returns the light occluder of the tile. + Returns the tile's light occluder. @@ -151,7 +152,7 @@ - Returns the material of the tile. + Returns the tile's material. @@ -160,6 +161,7 @@ + Returns the tile's modulation color. @@ -168,7 +170,7 @@ - Returns the name of the tile. + Returns the tile's name. @@ -195,6 +197,7 @@ + Returns the tile's normal map texture. @@ -223,6 +226,7 @@ + Returns a tile's given shape. @@ -231,6 +235,7 @@ + Returns the number of shapes assigned to a tile. @@ -241,6 +246,7 @@ + Returns the offset of a tile's shape. @@ -251,6 +257,7 @@ + Returns the one-way collision value of a tile's shape. @@ -261,6 +268,7 @@ + Returns the [Transform2D] of a tile's sahpe. @@ -269,7 +277,7 @@ - Returns the array of shapes of the tile. + Returns an array of the tile's shapes. @@ -278,7 +286,7 @@ - Returns the texture of the tile. + Returns the tile's texture. @@ -296,6 +304,7 @@ + Returns the tile's [enum TileMode]. @@ -304,6 +313,7 @@ + Returns the tile's z-index (drawing layer). @@ -391,7 +401,7 @@ - Set an offset for the tile's light occluder. + Sets an offset for the tile's light occluder. @@ -402,7 +412,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. @@ -415,6 +425,7 @@ + Sets a shape for the tile, enabling collision. @@ -427,6 +438,7 @@ + Sets the offset of a tile's shape. @@ -439,6 +451,7 @@ + Enables one-way collision on a tile's shape. @@ -451,6 +464,7 @@ + Sets a [Transform2D] on a tile's shape. diff --git a/doc/classes/VisibilityEnabler.xml b/doc/classes/VisibilityEnabler.xml index 83ba9495e5b9..5f0a4ef0f453 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 8dfbaec6e82e..eab9bd19915e 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.