summaryrefslogtreecommitdiff
path: root/doc/classes/BakedLightmap.xml
blob: 8084af38175b2b9d95dd939b9e9c2699da4fccd3 (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
66
67
68
69
70
71
72
73
74
75
76
77
<?xml version="1.0" encoding="UTF-8" ?>
<class name="BakedLightmap" inherits="VisualInstance" category="Core" version="3.0-beta">
	<brief_description>
	</brief_description>
	<description>
	</description>
	<tutorials>
	</tutorials>
	<demos>
	</demos>
	<methods>
		<method name="bake">
			<return type="int" enum="BakedLightmap.BakeError">
			</return>
			<argument index="0" name="from_node" type="Node" default="null">
			</argument>
			<argument index="1" name="create_visual_debug" type="bool" default="false">
			</argument>
			<description>
			</description>
		</method>
		<method name="debug_bake">
			<return type="void">
			</return>
			<description>
			</description>
		</method>
	</methods>
	<members>
		<member name="bake_mode" type="int" setter="set_bake_mode" getter="get_bake_mode" enum="BakedLightmap.BakeMode">
		</member>
		<member name="bake_quality" type="int" setter="set_bake_quality" getter="get_bake_quality" enum="BakedLightmap.BakeQuality">
		</member>
		<member name="bake_subdiv" type="int" setter="set_bake_subdiv" getter="get_bake_subdiv" enum="BakedLightmap.Subdiv">
		</member>
		<member name="capture_subdiv" type="int" setter="set_capture_subdiv" getter="get_capture_subdiv" enum="BakedLightmap.Subdiv">
		</member>
		<member name="energy" type="float" setter="set_energy" getter="get_energy">
		</member>
		<member name="extents" type="Vector3" setter="set_extents" getter="get_extents">
		</member>
		<member name="hdr" type="bool" setter="set_hdr" getter="is_hdr">
		</member>
		<member name="image_path" type="String" setter="set_image_path" getter="get_image_path">
		</member>
		<member name="light_data" type="BakedLightmapData" setter="set_light_data" getter="get_light_data">
		</member>
		<member name="propagation" type="float" setter="set_propagation" getter="get_propagation">
		</member>
	</members>
	<constants>
		<constant name="SUBDIV_128" value="0" enum="Subdiv">
		</constant>
		<constant name="SUBDIV_256" value="1" enum="Subdiv">
		</constant>
		<constant name="SUBDIV_512" value="2" enum="Subdiv">
		</constant>
		<constant name="SUBDIV_1024" value="3" enum="Subdiv">
		</constant>
		<constant name="SUBDIV_2048" value="4" enum="Subdiv">
		</constant>
		<constant name="SUBDIV_4096" value="5" enum="Subdiv">
		</constant>
		<constant name="SUBDIV_MAX" value="6" enum="Subdiv">
		</constant>
		<constant name="BAKE_QUALITY_LOW" value="0" enum="BakeQuality">
		</constant>
		<constant name="BAKE_QUALITY_MEDIUM" value="1" enum="BakeQuality">
		</constant>
		<constant name="BAKE_QUALITY_HIGH" value="2" enum="BakeQuality">
		</constant>
		<constant name="BAKE_MODE_CONE_TRACE" value="0" enum="BakeMode">
		</constant>
		<constant name="BAKE_MODE_RAY_TRACE" value="1" enum="BakeMode">
		</constant>
	</constants>
</class>