summaryrefslogtreecommitdiff
path: root/doc/classes/PrimitiveMesh.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/PrimitiveMesh.xml')
-rw-r--r--doc/classes/PrimitiveMesh.xml42
1 files changed, 42 insertions, 0 deletions
diff --git a/doc/classes/PrimitiveMesh.xml b/doc/classes/PrimitiveMesh.xml
new file mode 100644
index 0000000000..34141edbe7
--- /dev/null
+++ b/doc/classes/PrimitiveMesh.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<class name="PrimitiveMesh" inherits="Mesh" category="Core" version="3.0.alpha.custom_build">
+ <brief_description>
+ Base class for all primitive meshes. Handles applying a [Material] to a primitive mesh.
+ </brief_description>
+ <description>
+ Base class for all primitive meshes. Handles applying a [Material] to a primitive mesh.
+ </description>
+ <tutorials>
+ </tutorials>
+ <demos>
+ </demos>
+ <methods>
+ <method name="get_material" qualifiers="const">
+ <return type="Material">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_mesh_arrays" qualifiers="const">
+ <return type="Array">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="set_material">
+ <return type="void">
+ </return>
+ <argument index="0" name="material" type="Material">
+ </argument>
+ <description>
+ </description>
+ </method>
+ </methods>
+ <members>
+ <member name="material" type="Material" setter="set_material" getter="get_material">
+ The current [Material] of the primitive mesh.
+ </member>
+ </members>
+ <constants>
+ </constants>
+</class>