summaryrefslogtreecommitdiff
path: root/doc/classes/SurfaceTool.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/SurfaceTool.xml')
-rw-r--r--doc/classes/SurfaceTool.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/classes/SurfaceTool.xml b/doc/classes/SurfaceTool.xml
index e97f9995ee..ef8db3ca77 100644
--- a/doc/classes/SurfaceTool.xml
+++ b/doc/classes/SurfaceTool.xml
@@ -90,7 +90,7 @@
</argument>
<description>
Insert a triangle fan made of array data into [Mesh] being constructed.
- Requires primitive type be set to [code]PRIMITIVE_TRIANGLES[/code].
+ Requires primitive type be set to [constant Mesh.PRIMITIVE_TRIANGLES].
</description>
</method>
<method name="add_uv">
@@ -148,7 +148,7 @@
<argument index="0" name="primitive" type="int" enum="Mesh.PrimitiveType">
</argument>
<description>
- Called before adding any Vertices. Takes the primitive type as an argument (e.g. Mesh.PRIMITIVE_TRIANGLES).
+ Called before adding any Vertices. Takes the primitive type as an argument (e.g. [constant Mesh.PRIMITIVE_TRIANGLES]).
</description>
</method>
<method name="clear">
@@ -212,8 +212,8 @@
</argument>
<description>
Generates normals from Vertices so you do not have to do it manually.
- Setting "flip" [code]true[/code] inverts resulting normals.
- Requires primitive type to be set to [code]PRIMITIVE_TRIANGLES[/code].
+ Setting [code]flip[/code] to [code]true[/code] inverts the resulting normals.
+ Requires primitive type to be set to [constant Mesh.PRIMITIVE_TRIANGLES].
</description>
</method>
<method name="generate_tangents">