diff options
Diffstat (limited to 'doc/classes/ImmediateMesh.xml')
-rw-r--r-- | doc/classes/ImmediateMesh.xml | 57 |
1 files changed, 19 insertions, 38 deletions
diff --git a/doc/classes/ImmediateMesh.xml b/doc/classes/ImmediateMesh.xml index d2ae091cad..69637d5bdd 100644 --- a/doc/classes/ImmediateMesh.xml +++ b/doc/classes/ImmediateMesh.xml @@ -10,89 +10,70 @@ </tutorials> <methods> <method name="clear_surfaces"> - <return type="void"> - </return> + <return type="void" /> <description> Clear all surfaces. </description> </method> <method name="surface_add_vertex"> - <return type="void"> - </return> - <argument index="0" name="vertex" type="Vector3"> - </argument> + <return type="void" /> + <argument index="0" name="vertex" type="Vector3" /> <description> Add a 3D vertex using the current attributes previously set. </description> </method> <method name="surface_add_vertex_2d"> - <return type="void"> - </return> - <argument index="0" name="vertex" type="Vector2"> - </argument> + <return type="void" /> + <argument index="0" name="vertex" type="Vector2" /> <description> Add a 2D vertex using the current attributes previously set. </description> </method> <method name="surface_begin"> - <return type="void"> - </return> - <argument index="0" name="primitive" type="int" enum="Mesh.PrimitiveType"> - </argument> - <argument index="1" name="material" type="Material" default="null"> - </argument> + <return type="void" /> + <argument index="0" name="primitive" type="int" enum="Mesh.PrimitiveType" /> + <argument index="1" name="material" type="Material" default="null" /> <description> Begin a new surface. </description> </method> <method name="surface_end"> - <return type="void"> - </return> + <return type="void" /> <description> End and commit current surface. Note that surface being created will not be visible until this function is called. </description> </method> <method name="surface_set_color"> - <return type="void"> - </return> - <argument index="0" name="color" type="Color"> - </argument> + <return type="void" /> + <argument index="0" name="color" type="Color" /> <description> Set the color attribute that will be pushed with the next vertex. </description> </method> <method name="surface_set_normal"> - <return type="void"> - </return> - <argument index="0" name="normal" type="Vector3"> - </argument> + <return type="void" /> + <argument index="0" name="normal" type="Vector3" /> <description> Set the normal attribute that will be pushed with the next vertex. </description> </method> <method name="surface_set_tangent"> - <return type="void"> - </return> - <argument index="0" name="tangent" type="Plane"> - </argument> + <return type="void" /> + <argument index="0" name="tangent" type="Plane" /> <description> Set the tangent attribute that will be pushed with the next vertex. </description> </method> <method name="surface_set_uv"> - <return type="void"> - </return> - <argument index="0" name="uv" type="Vector2"> - </argument> + <return type="void" /> + <argument index="0" name="uv" type="Vector2" /> <description> Set the UV attribute that will be pushed with the next vertex. </description> </method> <method name="surface_set_uv2"> - <return type="void"> - </return> - <argument index="0" name="uv2" type="Vector2"> - </argument> + <return type="void" /> + <argument index="0" name="uv2" type="Vector2" /> <description> Set the UV2 attribute that will be pushed with the next vertex. </description> |