2017-09-13 04:42:36 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2019-04-01 18:33:56 +08:00
|
|
|
<class name="GIProbe" inherits="VisualInstance" category="Core" version="3.2">
|
2017-09-13 04:42:36 +08:00
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
2018-11-05 15:46:27 +08:00
|
|
|
<link>https://docs.godotengine.org/en/latest/tutorials/3d/gi_probes.html</link>
|
2017-09-13 04:42:36 +08:00
|
|
|
</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>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="bias" type="float" setter="set_bias" getter="get_bias" default="1.5">
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="compress" type="bool" setter="set_compress" getter="is_compressed" default="false">
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
2019-07-16 02:42:47 +08:00
|
|
|
<member name="data" type="GIProbeData" setter="set_probe_data" getter="get_probe_data">
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="dynamic_range" type="int" setter="set_dynamic_range" getter="get_dynamic_range" default="4">
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="energy" type="float" setter="set_energy" getter="get_energy" default="1.0">
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="extents" type="Vector3" setter="set_extents" getter="get_extents" default="Vector3( 10, 10, 10 )">
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="interior" type="bool" setter="set_interior" getter="is_interior" default="false">
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="normal_bias" type="float" setter="set_normal_bias" getter="get_normal_bias" default="0.0">
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="propagation" type="float" setter="set_propagation" getter="get_propagation" default="0.7">
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="subdiv" type="int" setter="set_subdiv" getter="get_subdiv" enum="GIProbe.Subdiv" default="1">
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
2017-11-25 06:16:30 +08:00
|
|
|
<constant name="SUBDIV_64" value="0" enum="Subdiv">
|
2017-09-13 04:42:36 +08:00
|
|
|
</constant>
|
2017-11-25 06:16:30 +08:00
|
|
|
<constant name="SUBDIV_128" value="1" enum="Subdiv">
|
2017-09-13 04:42:36 +08:00
|
|
|
</constant>
|
2017-11-25 06:16:30 +08:00
|
|
|
<constant name="SUBDIV_256" value="2" enum="Subdiv">
|
2017-09-13 04:42:36 +08:00
|
|
|
</constant>
|
2017-11-25 06:16:30 +08:00
|
|
|
<constant name="SUBDIV_512" value="3" enum="Subdiv">
|
2017-10-22 18:56:11 +08:00
|
|
|
</constant>
|
2017-11-25 06:16:30 +08:00
|
|
|
<constant name="SUBDIV_MAX" value="4" enum="Subdiv">
|
2019-06-27 17:10:53 +08:00
|
|
|
Represents the size of the [enum Subdiv] enum.
|
2017-09-13 04:42:36 +08:00
|
|
|
</constant>
|
|
|
|
</constants>
|
|
|
|
</class>
|