From c6cea6e9b372f403a5906813bf5db8583d747d06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sat, 29 Jun 2019 12:38:01 +0200 Subject: doc: Add default values to all properties Thanks to @bojidar-bg's impressive work in #29380. --- modules/csg/doc_classes/CSGBox.xml | 8 ++++---- modules/csg/doc_classes/CSGCylinder.xml | 12 ++++++------ modules/csg/doc_classes/CSGMesh.xml | 4 ++-- modules/csg/doc_classes/CSGPolygon.xml | 26 +++++++++++++------------- modules/csg/doc_classes/CSGPrimitive.xml | 2 +- modules/csg/doc_classes/CSGShape.xml | 12 ++++++------ modules/csg/doc_classes/CSGSphere.xml | 10 +++++----- modules/csg/doc_classes/CSGTorus.xml | 12 ++++++------ 8 files changed, 43 insertions(+), 43 deletions(-) (limited to 'modules/csg') diff --git a/modules/csg/doc_classes/CSGBox.xml b/modules/csg/doc_classes/CSGBox.xml index e508468415..d100c01205 100644 --- a/modules/csg/doc_classes/CSGBox.xml +++ b/modules/csg/doc_classes/CSGBox.xml @@ -11,16 +11,16 @@ - + Depth of the box measured from the center of the box. - + Height of the box measured from the center of the box. - + The material used to render the box. - + Width of the box measured from the center of the box. diff --git a/modules/csg/doc_classes/CSGCylinder.xml b/modules/csg/doc_classes/CSGCylinder.xml index 24c3f8ba2e..643eb7c7f4 100644 --- a/modules/csg/doc_classes/CSGCylinder.xml +++ b/modules/csg/doc_classes/CSGCylinder.xml @@ -11,22 +11,22 @@ - + If [code]true[/code] a cone is created, the [member radius] will only apply to one side. - + The height of the cylinder. - + The material used to render the cylinder. - + The radius of the cylinder. - + The number of sides of the cylinder, the higher this number the more detail there will be in the cylinder. - + If [code]true[/code] the normals of the cylinder are set to give a smooth effect making the cylinder seem rounded. If [code]false[/code] the cylinder will have a flat shaded look. diff --git a/modules/csg/doc_classes/CSGMesh.xml b/modules/csg/doc_classes/CSGMesh.xml index afe0bc262d..daa08decb6 100644 --- a/modules/csg/doc_classes/CSGMesh.xml +++ b/modules/csg/doc_classes/CSGMesh.xml @@ -11,9 +11,9 @@ - + - + The mesh resource to use as a CSG shape. diff --git a/modules/csg/doc_classes/CSGPolygon.xml b/modules/csg/doc_classes/CSGPolygon.xml index 2c5d298222..a65a363a51 100644 --- a/modules/csg/doc_classes/CSGPolygon.xml +++ b/modules/csg/doc_classes/CSGPolygon.xml @@ -11,43 +11,43 @@ - + Extrusion depth when [member mode] is [constant MODE_DEPTH]. - + Material to use for the resulting mesh. - + Extrusion mode. - + If [code]true[/code] the u component of our uv will continuously increase in unison with the distance traveled along our path when [member mode] is [constant MODE_PATH]. - + Interval at which a new extrusion slice is added along the path when [member mode] is [constant MODE_PATH]. - + If [code]true[/code] the start and end of our path are joined together ensuring there is no seam when [member mode] is [constant MODE_PATH]. - + If [code]false[/code] we extrude centered on our path, if [code]true[/code] we extrude in relation to the position of our CSGPolygon when [member mode] is [constant MODE_PATH]. - + The [Shape] object containing the path along which we extrude when [member mode] is [constant MODE_PATH]. - + The method by which each slice is rotated along the path when [member mode] is [constant MODE_PATH]. - + Point array that defines the shape that we'll extrude. - + Generates smooth normals so smooth shading is applied to our mesh. - + Degrees to rotate our extrusion for each slice when [member mode] is [constant MODE_SPIN]. - + Number of extrusion when [member mode] is [constant MODE_SPIN]. diff --git a/modules/csg/doc_classes/CSGPrimitive.xml b/modules/csg/doc_classes/CSGPrimitive.xml index 869e4006fe..6c2f837637 100644 --- a/modules/csg/doc_classes/CSGPrimitive.xml +++ b/modules/csg/doc_classes/CSGPrimitive.xml @@ -10,7 +10,7 @@ - + Invert the faces of the mesh. diff --git a/modules/csg/doc_classes/CSGShape.xml b/modules/csg/doc_classes/CSGShape.xml index 7fa7c78534..91f54f8246 100644 --- a/modules/csg/doc_classes/CSGShape.xml +++ b/modules/csg/doc_classes/CSGShape.xml @@ -64,23 +64,23 @@ - + Calculate tangents for the CSG shape which allows the use of normal maps. This is only applied on the root shape, this setting is ignored on any child. - + The physics layers this area is in. Collidable objects can exist in any of 32 different layers. These layers work like a tagging system, and are not visual. A collidable can use these layers to select with which objects it can collide, using the collision_mask property. A contact is detected if object A is in any of the layers that object B scans, or object B is in any layer scanned by object A. - + The physics layers this CSG shape scans for collisions. - + The operation that is performed on this shape. This is ignored for the first CSG child node as the operation is between this node and the previous child of this nodes parent. - + - + Adds a collision shape to the physics engine for our CSG shape. This will always act like a static body. Note that the collision shape is still active even if the CSG shape itself is hidden. diff --git a/modules/csg/doc_classes/CSGSphere.xml b/modules/csg/doc_classes/CSGSphere.xml index 2a12cf84db..0a62644179 100644 --- a/modules/csg/doc_classes/CSGSphere.xml +++ b/modules/csg/doc_classes/CSGSphere.xml @@ -11,19 +11,19 @@ - + The material used to render the sphere. - + Number of vertical slices for the sphere. - + Radius of the sphere. - + Number of horizontal slices for the sphere. - + If [code]true[/code] the normals of the sphere are set to give a smooth effect making the sphere seem rounded. If [code]false[/code] the sphere will have a flat shaded look. diff --git a/modules/csg/doc_classes/CSGTorus.xml b/modules/csg/doc_classes/CSGTorus.xml index 0d4437d87f..156fb185e7 100644 --- a/modules/csg/doc_classes/CSGTorus.xml +++ b/modules/csg/doc_classes/CSGTorus.xml @@ -11,22 +11,22 @@ - + The inner radius of the torus. - + The material used to render the torus. - + The outer radius of the torus. - + The number of edges each ring of the torus is constructed of. - + The number of slices the torus is constructed of. - + If [code]true[/code] the normals of the torus are set to give a smooth effect making the torus seem rounded. If [code]false[/code] the torus will have a flat shaded look. -- cgit v1.2.3