pandemonium_engine/modules/terraman_2d/doc_classes/Terrain2DEnvironmentData.xml

87 lines
2.9 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
2024-02-25 10:26:26 +01:00
<class name="Terrain2DEnvironmentData" inherits="Resource" version="4.3">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="_setup" qualifiers="virtual">
<return type="void" />
<argument index="0" name="world_environment" type="WorldEnvironment3D" />
<argument index="1" name="primary_light" type="DirectionalLight" />
<argument index="2" name="secondary_light" type="DirectionalLight" />
<description>
</description>
</method>
<method name="get_color">
<return type="Color" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="get_energy">
<return type="float" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="get_indirect_energy">
<return type="float" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="set_color">
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="value" type="Color" />
<description>
</description>
</method>
<method name="set_energy">
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="value" type="float" />
<description>
</description>
</method>
<method name="set_indirect_energy">
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="value" type="float" />
<description>
</description>
</method>
<method name="setup">
<return type="void" />
<argument index="0" name="world_environment" type="Node" />
<argument index="1" name="primary_light" type="Node" />
<argument index="2" name="secondary_light" type="Node" />
<description>
</description>
</method>
</methods>
<members>
<member name="environment" type="Environment3D" setter="set_environment" getter="get_environment">
</member>
<member name="primary_light_color" type="Color" setter="set_color" getter="get_color" default="Color( 1, 1, 1, 1 )">
</member>
<member name="primary_light_energy" type="float" setter="set_energy" getter="get_energy" default="1.0">
</member>
<member name="primary_light_indirect_energy" type="float" setter="set_indirect_energy" getter="get_indirect_energy" default="1.0">
</member>
<member name="secondary_light_color" type="Color" setter="set_color" getter="get_color" default="Color( 1, 1, 1, 1 )">
</member>
<member name="secondary_light_energy" type="float" setter="set_energy" getter="get_energy" default="1.0">
</member>
<member name="secondary_light_indirect_energy" type="float" setter="set_indirect_energy" getter="get_indirect_energy" default="1.0">
</member>
</members>
<constants>
<constant name="LIGHT_COUNT" value="2">
</constant>
</constants>
</class>