mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
28 lines
1.1 KiB
XML
28 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="Material" inherits="Resource" category="Core" version="3.2">
|
|
<brief_description>
|
|
Abstract base [Resource] for coloring and shading geometry.
|
|
</brief_description>
|
|
<description>
|
|
Material is a base [Resource] used for coloring and shading geometry. All materials inherit from it and almost all [VisualInstance] derived nodes carry a Material. A few flags and parameters are shared between all material types and are configured here.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="next_pass" type="Material" setter="set_next_pass" getter="get_next_pass">
|
|
</member>
|
|
<member name="render_priority" type="int" setter="set_render_priority" getter="get_render_priority" default="0">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
<constant name="RENDER_PRIORITY_MAX" value="127">
|
|
Maximum value for the [member render_priority] parameter.
|
|
</constant>
|
|
<constant name="RENDER_PRIORITY_MIN" value="-128">
|
|
Minimum value for the [member render_priority] parameter.
|
|
</constant>
|
|
</constants>
|
|
</class>
|