pandemonium_engine/modules/vertex_lights_3d/doc_classes/VertexLight3D.xml

45 lines
1.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
<class name="VertexLight3D" inherits="Spatial" version="4.3">
<brief_description>
A [Spatial] that manages a light in [VertexLights3DServer].
</brief_description>
<description>
A [Spatial] that manages a light in [VertexLights3DServer].
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="attenuation" type="float" setter="set_attenuation" getter="get_attenuation" default="1.0">
The light's attenuation.
</member>
<member name="color" type="Color" setter="set_color" getter="get_color" default="Color( 1, 1, 1, 1 )">
The light's color.
</member>
<member name="enabled" type="bool" setter="set_enabled" getter="get_is_enabled" default="true">
WHether this light is enabled or not.
</member>
<member name="item_cull_mask" type="int" setter="set_item_cull_mask" getter="get_item_cull_mask" default="1">
The light's item cull mask.
</member>
<member name="mode" type="int" setter="set_mode" getter="get_mode" enum="VertexLight3D.VertexLight3DMode" default="0">
The light's mode.
</member>
<member name="range" type="float" setter="set_range" getter="get_range" default="5.0">
The light's range.
</member>
</members>
<constants>
<constant name="VERTEX_LIGHT_3D_MODE_ADD" value="0" enum="VertexLight3DMode">
The light's color gets added to the resulting colors.
</constant>
<constant name="VERTEX_LIGHT_3D_MODE_SUB" value="1" enum="VertexLight3DMode">
The light's color gets substracted to the resulting colors.
</constant>
<constant name="VERTEX_LIGHT_3D_MODE_MIX" value="2" enum="VertexLight3DMode">
The light's color gets blended with the resulting colors.
</constant>
</constants>
</class>