2022-03-15 13:29:32 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2024-02-25 10:26:26 +01:00
|
|
|
<class name="VoxelLight" inherits="Reference" version="4.3">
|
2022-03-15 13:29:32 +01:00
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="get_world_position_x" qualifiers="const">
|
|
|
|
<return type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_world_position_y" qualifiers="const">
|
|
|
|
<return type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_world_position_z" qualifiers="const">
|
|
|
|
<return type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_world_position">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="x" type="int" />
|
|
|
|
<argument index="1" name="y" type="int" />
|
|
|
|
<argument index="2" name="z" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2024-03-18 08:38:27 +01:00
|
|
|
<member name="light_attenuation" type="float" setter="set_attenuation" getter="get_attenuation" default="0.0">
|
2022-03-15 13:29:32 +01:00
|
|
|
</member>
|
2024-03-18 08:38:27 +01:00
|
|
|
<member name="light_color" type="Color" setter="set_color" getter="get_color" default="Color( 0, 0, 0, 1 )">
|
|
|
|
</member>
|
|
|
|
<member name="light_energy" type="float" setter="set_energy" getter="get_energy" default="0.0">
|
|
|
|
</member>
|
|
|
|
<member name="light_indirect_energy" type="float" setter="set_indirect_energy" getter="get_indirect_energy" default="0.0">
|
|
|
|
</member>
|
|
|
|
<member name="light_negative" type="bool" setter="set_negative" getter="get_negative" default="false">
|
|
|
|
</member>
|
|
|
|
<member name="light_range" type="float" setter="set_range" getter="get_range" default="0.0">
|
|
|
|
</member>
|
|
|
|
<member name="light_specular" type="float" setter="set_specular" getter="get_specular" default="0.0">
|
2022-03-15 13:29:32 +01:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|