mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-27 06:07:14 +01:00
Re-extracted class docs.
This commit is contained in:
parent
34603315e4
commit
a58eba6277
@ -10,6 +10,11 @@
|
|||||||
<link>$DOCS_URL/tutorials/physics/ray-casting.md</link>
|
<link>$DOCS_URL/tutorials/physics/ray-casting.md</link>
|
||||||
</tutorials>
|
</tutorials>
|
||||||
<methods>
|
<methods>
|
||||||
|
<method name="get_vertex_lights_2d_map">
|
||||||
|
<return type="RID" />
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="canvas" type="RID" setter="" getter="get_canvas">
|
<member name="canvas" type="RID" setter="" getter="get_canvas">
|
||||||
|
@ -494,6 +494,8 @@
|
|||||||
The quadrant size does not apply on Y-sorted layers, as tiles are be grouped by Y position instead in that case.
|
The quadrant size does not apply on Y-sorted layers, as tiles are be grouped by Y position instead in that case.
|
||||||
[b]Note:[/b] As quadrants are created according to the map's coordinate system, the quadrant's "square shape" might not look like square in the LayeredTileMap's local coordinate system.
|
[b]Note:[/b] As quadrants are created according to the map's coordinate system, the quadrant's "square shape" might not look like square in the LayeredTileMap's local coordinate system.
|
||||||
</member>
|
</member>
|
||||||
|
<member name="use_vertex_lights" type="bool" setter="set_use_vertex_lights" getter="get_use_vertex_lights" default="false">
|
||||||
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
<signal name="changed">
|
<signal name="changed">
|
||||||
|
@ -9,14 +9,20 @@
|
|||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="color" type="Color" setter="set_color" getter="get_color" default="Color( 0, 0, 0, 1 )">
|
<member name="attenuation" type="float" setter="set_attenuation" getter="get_attenuation" default="1.0">
|
||||||
|
</member>
|
||||||
|
<member name="color" type="Color" setter="set_color" getter="get_color" default="Color( 1, 1, 1, 1 )">
|
||||||
|
</member>
|
||||||
|
<member name="enabled" type="bool" setter="set_enabled" getter="get_is_enabled" default="true">
|
||||||
</member>
|
</member>
|
||||||
<member name="item_cull_mask" type="int" setter="set_item_cull_mask" getter="get_item_cull_mask" default="1">
|
<member name="item_cull_mask" type="int" setter="set_item_cull_mask" getter="get_item_cull_mask" default="1">
|
||||||
</member>
|
</member>
|
||||||
<member name="layer_range" type="Vector2i" setter="set_layer_range" getter="get_layer_range" default="Vector2i( 0, 0 )">
|
<member name="layer_range" type="Vector2i" setter="set_layer_range" getter="get_layer_range" default="Vector2i( -512, 512 )">
|
||||||
</member>
|
</member>
|
||||||
<member name="mode" type="int" setter="set_mode" getter="get_mode" enum="VertexLight2D.VertexLight2DMode" default="0">
|
<member name="mode" type="int" setter="set_mode" getter="get_mode" enum="VertexLight2D.VertexLight2DMode" default="0">
|
||||||
</member>
|
</member>
|
||||||
|
<member name="range" type="Vector2i" setter="set_range" getter="get_range" default="Vector2i( 32, 32 )">
|
||||||
|
</member>
|
||||||
<member name="z_range" type="Vector2i" setter="set_z_range" getter="get_z_range" default="Vector2i( -1024, 1024 )">
|
<member name="z_range" type="Vector2i" setter="set_z_range" getter="get_z_range" default="Vector2i( -1024, 1024 )">
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
@ -0,0 +1,19 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<class name="VertexLight2DEnvironment" inherits="Node2D" version="4.3">
|
||||||
|
<brief_description>
|
||||||
|
</brief_description>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
<tutorials>
|
||||||
|
</tutorials>
|
||||||
|
<methods>
|
||||||
|
</methods>
|
||||||
|
<members>
|
||||||
|
<member name="color" type="Color" setter="set_color" getter="get_color" default="Color( 0, 0, 0, 1 )">
|
||||||
|
</member>
|
||||||
|
<member name="enabled" type="bool" setter="set_enabled" getter="get_is_enabled" default="true">
|
||||||
|
</member>
|
||||||
|
</members>
|
||||||
|
<constants>
|
||||||
|
</constants>
|
||||||
|
</class>
|
@ -7,6 +7,11 @@
|
|||||||
<tutorials>
|
<tutorials>
|
||||||
</tutorials>
|
</tutorials>
|
||||||
<methods>
|
<methods>
|
||||||
|
<method name="flush_notifications">
|
||||||
|
<return type="void" />
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="free">
|
<method name="free">
|
||||||
<return type="void" />
|
<return type="void" />
|
||||||
<argument index="0" name="rid" type="RID" />
|
<argument index="0" name="rid" type="RID" />
|
||||||
@ -23,12 +28,24 @@
|
|||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="light_get_attenuation">
|
||||||
|
<return type="float" />
|
||||||
|
<argument index="0" name="light" type="RID" />
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="light_get_color">
|
<method name="light_get_color">
|
||||||
<return type="Color" />
|
<return type="Color" />
|
||||||
<argument index="0" name="light" type="RID" />
|
<argument index="0" name="light" type="RID" />
|
||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="light_get_is_enabled">
|
||||||
|
<return type="bool" />
|
||||||
|
<argument index="0" name="light" type="RID" />
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="light_get_item_cull_mask">
|
<method name="light_get_item_cull_mask">
|
||||||
<return type="int" />
|
<return type="int" />
|
||||||
<argument index="0" name="light" type="RID" />
|
<argument index="0" name="light" type="RID" />
|
||||||
@ -59,12 +76,25 @@
|
|||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="light_get_range">
|
||||||
|
<return type="Vector2i" />
|
||||||
|
<argument index="0" name="light" type="RID" />
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="light_get_z_range">
|
<method name="light_get_z_range">
|
||||||
<return type="Vector2i" />
|
<return type="Vector2i" />
|
||||||
<argument index="0" name="light" type="RID" />
|
<argument index="0" name="light" type="RID" />
|
||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="light_set_attenuation">
|
||||||
|
<return type="void" />
|
||||||
|
<argument index="0" name="light" type="RID" />
|
||||||
|
<argument index="1" name="attenuation" type="float" />
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="light_set_color">
|
<method name="light_set_color">
|
||||||
<return type="void" />
|
<return type="void" />
|
||||||
<argument index="0" name="light" type="RID" />
|
<argument index="0" name="light" type="RID" />
|
||||||
@ -72,6 +102,13 @@
|
|||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="light_set_enabled">
|
||||||
|
<return type="void" />
|
||||||
|
<argument index="0" name="light" type="RID" />
|
||||||
|
<argument index="1" name="enabled" type="bool" />
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="light_set_item_cull_mask">
|
<method name="light_set_item_cull_mask">
|
||||||
<return type="void" />
|
<return type="void" />
|
||||||
<argument index="0" name="light" type="RID" />
|
<argument index="0" name="light" type="RID" />
|
||||||
@ -107,6 +144,13 @@
|
|||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="light_set_range">
|
||||||
|
<return type="void" />
|
||||||
|
<argument index="0" name="light" type="RID" />
|
||||||
|
<argument index="1" name="range" type="Vector2i" />
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="light_set_z_range">
|
<method name="light_set_z_range">
|
||||||
<return type="void" />
|
<return type="void" />
|
||||||
<argument index="0" name="light" type="RID" />
|
<argument index="0" name="light" type="RID" />
|
||||||
@ -125,6 +169,12 @@
|
|||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="map_get_base_color" qualifiers="const">
|
||||||
|
<return type="Color" />
|
||||||
|
<argument index="0" name="map" type="RID" />
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="map_get_lights" qualifiers="const">
|
<method name="map_get_lights" qualifiers="const">
|
||||||
<return type="Array" />
|
<return type="Array" />
|
||||||
<argument index="0" name="map" type="RID" />
|
<argument index="0" name="map" type="RID" />
|
||||||
@ -137,6 +187,13 @@
|
|||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="map_set_base_color">
|
||||||
|
<return type="void" />
|
||||||
|
<argument index="0" name="map" type="RID" />
|
||||||
|
<argument index="1" name="base_color" type="Color" />
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="map_set_quadrant_size">
|
<method name="map_set_quadrant_size">
|
||||||
<return type="void" />
|
<return type="void" />
|
||||||
<argument index="0" name="map" type="RID" />
|
<argument index="0" name="map" type="RID" />
|
||||||
@ -144,6 +201,15 @@
|
|||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="sample_light">
|
||||||
|
<return type="Color" />
|
||||||
|
<argument index="0" name="map" type="RID" />
|
||||||
|
<argument index="1" name="position" type="Vector2" />
|
||||||
|
<argument index="2" name="item_cull_mask" type="int" default="1" />
|
||||||
|
<argument index="3" name="layer" type="int" default="0" />
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="set_default_quadrant_size">
|
<method name="set_default_quadrant_size">
|
||||||
<return type="void" />
|
<return type="void" />
|
||||||
<argument index="0" name="size" type="Vector2i" />
|
<argument index="0" name="size" type="Vector2i" />
|
||||||
@ -151,6 +217,13 @@
|
|||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
|
<signals>
|
||||||
|
<signal name="map_changed">
|
||||||
|
<argument index="0" name="map" type="RID" />
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</signal>
|
||||||
|
</signals>
|
||||||
<constants>
|
<constants>
|
||||||
<constant name="VERTEX_LIGHT_2D_MODE_ADD" value="0" enum="VertexLight2DMode">
|
<constant name="VERTEX_LIGHT_2D_MODE_ADD" value="0" enum="VertexLight2DMode">
|
||||||
</constant>
|
</constant>
|
||||||
|
Loading…
Reference in New Issue
Block a user