42 lines
1.1 KiB
XML
42 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="PrimitiveMesh" inherits="Mesh" category="Core" version="3.0-beta">
|
|
<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>
|