blob: 2a6553bb6a0f3a73974bd61a360207454b42c861 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
<?xml version="1.0" encoding="UTF-8" ?>
<class name="CanvasItemMaterial" inherits="Material" category="Core" version="3.0.alpha.custom_build">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<demos>
</demos>
<methods>
<method name="get_blend_mode" qualifiers="const">
<return type="int" enum="CanvasItemMaterial.BlendMode">
</return>
<description>
</description>
</method>
<method name="get_light_mode" qualifiers="const">
<return type="int" enum="CanvasItemMaterial.LightMode">
</return>
<description>
</description>
</method>
<method name="set_blend_mode">
<return type="void">
</return>
<argument index="0" name="blend_mode" type="int" enum="CanvasItemMaterial.BlendMode">
</argument>
<description>
</description>
</method>
<method name="set_light_mode">
<return type="void">
</return>
<argument index="0" name="light_mode" type="int" enum="CanvasItemMaterial.LightMode">
</argument>
<description>
</description>
</method>
</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">
</constant>
<constant name="BLEND_MODE_ADD" value="1">
</constant>
<constant name="BLEND_MODE_SUB" value="2">
</constant>
<constant name="BLEND_MODE_MUL" value="3">
</constant>
<constant name="BLEND_MODE_PREMULT_ALPHA" value="4">
</constant>
<constant name="LIGHT_MODE_NORMAL" value="0">
</constant>
<constant name="LIGHT_MODE_UNSHADED" value="1">
</constant>
<constant name="LIGHT_MODE_LIGHT_ONLY" value="2">
</constant>
</constants>
</class>
|