summaryrefslogtreecommitdiff
path: root/doc/classes/GIProbe.xml
blob: a9192d1942de940027039277625eb48b85b40975 (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
<?xml version="1.0" encoding="UTF-8" ?>
<class name="GIProbe" inherits="VisualInstance" category="Core" version="3.2">
	<brief_description>
	</brief_description>
	<description>
	</description>
	<tutorials>
		<link>https://docs.godotengine.org/en/latest/tutorials/3d/gi_probes.html</link>
	</tutorials>
	<methods>
		<method name="bake">
			<return type="void">
			</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="bias" type="float" setter="set_bias" getter="get_bias" default="1.5">
		</member>
		<member name="compress" type="bool" setter="set_compress" getter="is_compressed" default="false">
		</member>
		<member name="data" type="GIProbeData" setter="set_probe_data" getter="get_probe_data">
		</member>
		<member name="dynamic_range" type="int" setter="set_dynamic_range" getter="get_dynamic_range" default="4">
		</member>
		<member name="energy" type="float" setter="set_energy" getter="get_energy" default="1.0">
		</member>
		<member name="extents" type="Vector3" setter="set_extents" getter="get_extents" default="Vector3( 10, 10, 10 )">
		</member>
		<member name="interior" type="bool" setter="set_interior" getter="is_interior" default="false">
		</member>
		<member name="normal_bias" type="float" setter="set_normal_bias" getter="get_normal_bias" default="0.0">
		</member>
		<member name="propagation" type="float" setter="set_propagation" getter="get_propagation" default="0.7">
		</member>
		<member name="subdiv" type="int" setter="set_subdiv" getter="get_subdiv" enum="GIProbe.Subdiv" default="1">
		</member>
	</members>
	<constants>
		<constant name="SUBDIV_64" value="0" enum="Subdiv">
		</constant>
		<constant name="SUBDIV_128" value="1" enum="Subdiv">
		</constant>
		<constant name="SUBDIV_256" value="2" enum="Subdiv">
		</constant>
		<constant name="SUBDIV_512" value="3" enum="Subdiv">
		</constant>
		<constant name="SUBDIV_MAX" value="4" enum="Subdiv">
			Represents the size of the [enum Subdiv] enum.
		</constant>
	</constants>
</class>