2017-12-16 19:34:16 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2022-08-05 16:51:38 +00:00
<class name= "BakedLightmapData" inherits= "Resource" version= "3.6" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2017-12-16 19:34:16 +00:00
<brief_description >
</brief_description>
<description >
</description>
<tutorials >
</tutorials>
<methods >
<method name= "add_user" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
<argument index= "0" name= "path" type= "NodePath" />
<argument index= "1" name= "lightmap" type= "Resource" />
<argument index= "2" name= "lightmap_slice" type= "int" />
<argument index= "3" name= "lightmap_uv_rect" type= "Rect2" />
<argument index= "4" name= "instance" type= "int" />
2017-12-16 19:34:16 +00:00
<description >
</description>
</method>
2021-02-15 11:32:31 +00:00
<method name= "clear_data" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
2021-02-15 11:32:31 +00:00
<description >
</description>
</method>
2017-12-16 19:34:16 +00:00
<method name= "clear_users" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
2017-12-16 19:34:16 +00:00
<description >
</description>
</method>
<method name= "get_user_count" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "int" />
2017-12-16 19:34:16 +00:00
<description >
</description>
</method>
<method name= "get_user_lightmap" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "Resource" />
<argument index= "0" name= "user_idx" type= "int" />
2017-12-16 19:34:16 +00:00
<description >
</description>
</method>
<method name= "get_user_path" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "NodePath" />
<argument index= "0" name= "user_idx" type= "int" />
2017-12-16 19:34:16 +00:00
<description >
</description>
</method>
</methods>
<members >
2019-06-29 10:38:01 +00:00
<member name= "bounds" type= "AABB" setter= "set_bounds" getter= "get_bounds" default= "AABB( 0, 0, 0, 0, 0, 0 )" >
2018-01-11 22:38:35 +00:00
</member>
2019-06-29 10:38:01 +00:00
<member name= "cell_space_transform" type= "Transform" setter= "set_cell_space_transform" getter= "get_cell_space_transform" default= "Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )" >
2018-01-11 22:38:35 +00:00
</member>
2019-06-29 10:38:01 +00:00
<member name= "cell_subdiv" type= "int" setter= "set_cell_subdiv" getter= "get_cell_subdiv" default= "1" >
2018-01-11 22:38:35 +00:00
</member>
2019-06-29 10:38:01 +00:00
<member name= "energy" type= "float" setter= "set_energy" getter= "get_energy" default= "1.0" >
2021-07-25 00:55:36 +00:00
Global energy multiplier for baked and dynamic capture objects. This can be changed at run-time without having to bake lightmaps again.
To adjust only the energy of indirect lighting (without affecting direct lighting or emissive materials), adjust [member BakedLightmap.bounce_indirect_energy] and bake lightmaps again.
2021-03-11 12:34:57 +00:00
</member>
<member name= "interior" type= "bool" setter= "set_interior" getter= "is_interior" default= "false" >
Controls whether dynamic capture objects receive environment lighting or not.
2017-12-16 19:34:16 +00:00
</member>
2019-06-29 10:38:01 +00:00
<member name= "octree" type= "PoolByteArray" setter= "set_octree" getter= "get_octree" default= "PoolByteArray( )" >
2018-01-11 22:38:35 +00:00
</member>
2017-12-16 19:34:16 +00:00
</members>
<constants >
</constants>
</class>