2017-09-13 04:42:36 +08:00
|
|
|
<?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>
|
2017-09-13 14:49:40 +08:00
|
|
|
<member name="material" type="Material" setter="set_material" getter="get_material">
|
2017-09-13 04:42:36 +08:00
|
|
|
The current [Material] of the primitive mesh.
|
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|