37 lines
1.2 KiB
XML
37 lines
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="CanvasItemMaterial" inherits="Material" category="Core" version="3.0-beta">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<demos>
|
|
</demos>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="blend_mode" type="int" setter="set_blend_mode" getter="get_blend_mode" enum="CanvasItemMaterial.BlendMode">
|
|
</member>
|
|
<member name="light_mode" type="int" setter="set_light_mode" getter="get_light_mode" enum="CanvasItemMaterial.LightMode">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
<constant name="BLEND_MODE_MIX" value="0" enum="BlendMode">
|
|
</constant>
|
|
<constant name="BLEND_MODE_ADD" value="1" enum="BlendMode">
|
|
</constant>
|
|
<constant name="BLEND_MODE_SUB" value="2" enum="BlendMode">
|
|
</constant>
|
|
<constant name="BLEND_MODE_MUL" value="3" enum="BlendMode">
|
|
</constant>
|
|
<constant name="BLEND_MODE_PREMULT_ALPHA" value="4" enum="BlendMode">
|
|
</constant>
|
|
<constant name="LIGHT_MODE_NORMAL" value="0" enum="LightMode">
|
|
</constant>
|
|
<constant name="LIGHT_MODE_UNSHADED" value="1" enum="LightMode">
|
|
</constant>
|
|
<constant name="LIGHT_MODE_LIGHT_ONLY" value="2" enum="LightMode">
|
|
</constant>
|
|
</constants>
|
|
</class>
|