mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-30 07:37:16 +01:00
87 lines
2.9 KiB
XML
87 lines
2.9 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="EnvironmentData" inherits="Resource" version="3.5">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="_setup" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="world_environment" type="WorldEnvironment" />
|
|
<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="Environment" 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>
|