mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 09:52:18 +08:00
a4005221f5
[ci skip]
43 lines
1.1 KiB
XML
43 lines
1.1 KiB
XML
<?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>
|