mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-03 01:19:38 +01:00
Re-extracted class docs.
This commit is contained in:
parent
cc2f893bcd
commit
5d190f21d6
@ -1587,11 +1587,11 @@
|
|||||||
<constant name="PROPERTY_HINT_LINK" value="41" enum="PropertyHint">
|
<constant name="PROPERTY_HINT_LINK" value="41" enum="PropertyHint">
|
||||||
Hints that a vector property should allow linking values (e.g. to edit both [code]x[/code] and [code]y[/code] together).
|
Hints that a vector property should allow linking values (e.g. to edit both [code]x[/code] and [code]y[/code] together).
|
||||||
</constant>
|
</constant>
|
||||||
|
<constant name="PROPERTY_HINT_MAX" value="43" enum="PropertyHint">
|
||||||
|
</constant>
|
||||||
<constant name="PROPERTY_HINT_LOCALE_ID" value="42" enum="PropertyHint">
|
<constant name="PROPERTY_HINT_LOCALE_ID" value="42" enum="PropertyHint">
|
||||||
Hints that a string property is a locale code. Editing it will show a locale dialog for picking language and country.
|
Hints that a string property is a locale code. Editing it will show a locale dialog for picking language and country.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="PROPERTY_HINT_MAX" value="43" enum="PropertyHint">
|
|
||||||
</constant>
|
|
||||||
<constant name="PROPERTY_USAGE_STORAGE" value="1" enum="PropertyUsageFlags">
|
<constant name="PROPERTY_USAGE_STORAGE" value="1" enum="PropertyUsageFlags">
|
||||||
The property is serialized and saved in the scene file (default).
|
The property is serialized and saved in the scene file (default).
|
||||||
</constant>
|
</constant>
|
||||||
|
@ -836,9 +836,6 @@
|
|||||||
If [code]true[/code], sorts the members outline (located at the left of the script editor) using alphabetical order. If [code]false[/code], sorts the members outline depending on the order in which members are found in the script.
|
If [code]true[/code], sorts the members outline (located at the left of the script editor) using alphabetical order. If [code]false[/code], sorts the members outline depending on the order in which members are found in the script.
|
||||||
[b]Note:[/b] Only effective if [member text_editor/script_list/show_members_overview] is [code]true[/code].
|
[b]Note:[/b] Only effective if [member text_editor/script_list/show_members_overview] is [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="editors/layered_tiles_editor/highlight_selected_layer" type="bool" setter="" getter="">
|
|
||||||
Highlight the currently selected TileMapLayer by dimming the other ones in the scene.
|
|
||||||
</member>
|
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
<signal name="settings_changed">
|
<signal name="settings_changed">
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<class name="LOD" inherits="Spatial" version="3.6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
<class name="LOD" inherits="Spatial" version="4.3">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
Provides discrete level of detail.
|
Provides discrete level of detail.
|
||||||
</brief_description>
|
</brief_description>
|
||||||
|
@ -672,6 +672,8 @@
|
|||||||
</member>
|
</member>
|
||||||
<member name="ess/data/ess_resource_db_path" type="String" setter="" getter="" default="""">
|
<member name="ess/data/ess_resource_db_path" type="String" setter="" getter="" default="""">
|
||||||
</member>
|
</member>
|
||||||
|
<member name="ess/entity_resources/base_world_speed" type="int" setter="" getter="" default="100">
|
||||||
|
</member>
|
||||||
<member name="ess/enums/dminishing_return_categories" type="String" setter="" getter="" default=""Stun,Sleep,Disorient"">
|
<member name="ess/enums/dminishing_return_categories" type="String" setter="" getter="" default=""Stun,Sleep,Disorient"">
|
||||||
</member>
|
</member>
|
||||||
<member name="ess/enums/dminishing_return_length" type="float" setter="" getter="" default="15.0">
|
<member name="ess/enums/dminishing_return_length" type="float" setter="" getter="" default="15.0">
|
||||||
|
@ -247,6 +247,8 @@
|
|||||||
[b]Note:[/b] The mesh must have both normals and tangents defined in its vertex data. Otherwise, the normal map won't render correctly and will only appear to darken the whole surface. If creating geometry with [SurfaceTool], you can use [method SurfaceTool.generate_normals] and [method SurfaceTool.generate_tangents] to automatically generate normals and tangents respectively.
|
[b]Note:[/b] The mesh must have both normals and tangents defined in its vertex data. Otherwise, the normal map won't render correctly and will only appear to darken the whole surface. If creating geometry with [SurfaceTool], you can use [method SurfaceTool.generate_normals] and [method SurfaceTool.generate_tangents] to automatically generate normals and tangents respectively.
|
||||||
[b]Note:[/b] Godot expects the normal map to use X+, Y+, and Z+ coordinates. See [url=http://wiki.polycount.com/wiki/Normal_Map_Technical_Details#Common_Swizzle_Coordinates]this page[/url] for a comparison of normal map coordinates expected by popular engines.
|
[b]Note:[/b] Godot expects the normal map to use X+, Y+, and Z+ coordinates. See [url=http://wiki.polycount.com/wiki/Normal_Map_Technical_Details#Common_Swizzle_Coordinates]this page[/url] for a comparison of normal map coordinates expected by popular engines.
|
||||||
</member>
|
</member>
|
||||||
|
<member name="orm_texture" type="Texture" setter="set_texture" getter="get_texture">
|
||||||
|
</member>
|
||||||
<member name="params_alpha_scissor_threshold" type="float" setter="set_alpha_scissor_threshold" getter="get_alpha_scissor_threshold">
|
<member name="params_alpha_scissor_threshold" type="float" setter="set_alpha_scissor_threshold" getter="get_alpha_scissor_threshold">
|
||||||
Threshold at which the alpha scissor will discard values.
|
Threshold at which the alpha scissor will discard values.
|
||||||
</member>
|
</member>
|
||||||
@ -435,7 +437,7 @@
|
|||||||
<constant name="TEXTURE_DETAIL_NORMAL" value="15" enum="TextureParam">
|
<constant name="TEXTURE_DETAIL_NORMAL" value="15" enum="TextureParam">
|
||||||
Texture specifying per-pixel detail normal.
|
Texture specifying per-pixel detail normal.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="TEXTURE_MAX" value="16" enum="TextureParam">
|
<constant name="TEXTURE_MAX" value="17" enum="TextureParam">
|
||||||
Represents the size of the [enum TextureParam] enum.
|
Represents the size of the [enum TextureParam] enum.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="DETAIL_UV_1" value="0" enum="DetailUV">
|
<constant name="DETAIL_UV_1" value="0" enum="DetailUV">
|
||||||
|
@ -94,6 +94,11 @@
|
|||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="is_normalized">
|
||||||
|
<return type="bool" />
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="is_zero_approx">
|
<method name="is_zero_approx">
|
||||||
<return type="bool" />
|
<return type="bool" />
|
||||||
<description>
|
<description>
|
||||||
@ -101,11 +106,6 @@
|
|||||||
This method is faster than using [method is_equal_approx] with one value as a zero vector.
|
This method is faster than using [method is_equal_approx] with one value as a zero vector.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="is_normalized">
|
|
||||||
<return type="bool" />
|
|
||||||
<description>
|
|
||||||
</description>
|
|
||||||
</method>
|
|
||||||
<method name="length">
|
<method name="length">
|
||||||
<return type="float" />
|
<return type="float" />
|
||||||
<description>
|
<description>
|
||||||
|
@ -246,6 +246,8 @@
|
|||||||
</member>
|
</member>
|
||||||
<member name="default_ess_material_cache_class" type="StringName" setter="set_default_ess_material_cache_class" getter="get_default_ess_material_cache_class" default="@"ESSMaterialCachePCM"">
|
<member name="default_ess_material_cache_class" type="StringName" setter="set_default_ess_material_cache_class" getter="get_default_ess_material_cache_class" default="@"ESSMaterialCachePCM"">
|
||||||
</member>
|
</member>
|
||||||
|
<member name="entity_resource_base_world_speed" type="float" setter="entity_resource_set_base_world_speed" getter="entity_resource_get_base_world_speed" default="100.0">
|
||||||
|
</member>
|
||||||
<member name="entity_spawner" type="ESSEntitySpawner" setter="set_entity_spawner" getter="get_entity_spawner">
|
<member name="entity_spawner" type="ESSEntitySpawner" setter="set_entity_spawner" getter="get_entity_spawner">
|
||||||
</member>
|
</member>
|
||||||
<member name="entity_types" type="String" setter="entity_types_set" getter="entity_types_get" default=""None,Creature,Totem,Idol,Humanoid,Mechanical,Beast,Dragonkin,Elemental,Ghost,Energy,Anomaly,Demon,Object"">
|
<member name="entity_types" type="String" setter="entity_types_set" getter="entity_types_get" default=""None,Creature,Totem,Idol,Humanoid,Mechanical,Beast,Dragonkin,Elemental,Ghost,Energy,Anomaly,Demon,Object"">
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<class name="LayeredTileMap" inherits="Node2D" version="4.3">
|
<class name="LayeredTileMap" inherits="YSort" version="4.3">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
Node for 2D tile-based maps.
|
Node for 2D tile-based maps.
|
||||||
</brief_description>
|
</brief_description>
|
||||||
@ -143,6 +143,12 @@
|
|||||||
Returns the coordinates of the tile for given physics body RID. Such RID can be retrieved from [method KinematicCollision2D.get_collider_rid], when colliding with a tile.
|
Returns the coordinates of the tile for given physics body RID. Such RID can be retrieved from [method KinematicCollision2D.get_collider_rid], when colliding with a tile.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="get_layer" qualifiers="const">
|
||||||
|
<return type="LayeredTileMapLayer" />
|
||||||
|
<argument index="0" name="layer" type="int" />
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="get_layer_for_body_rid">
|
<method name="get_layer_for_body_rid">
|
||||||
<return type="int" />
|
<return type="int" />
|
||||||
<argument index="0" name="body" type="RID" />
|
<argument index="0" name="body" type="RID" />
|
||||||
@ -485,9 +491,6 @@
|
|||||||
<member name="navigation_visibility_mode" type="int" setter="set_navigation_visibility_mode" getter="get_navigation_visibility_mode" enum="LayeredTileMap.VisibilityMode" default="0">
|
<member name="navigation_visibility_mode" type="int" setter="set_navigation_visibility_mode" getter="get_navigation_visibility_mode" enum="LayeredTileMap.VisibilityMode" default="0">
|
||||||
Show or hide the LayeredTileMap's navigation meshes. If set to [constant VISIBILITY_MODE_DEFAULT], this depends on the show navigation debug settings.
|
Show or hide the LayeredTileMap's navigation meshes. If set to [constant VISIBILITY_MODE_DEFAULT], this depends on the show navigation debug settings.
|
||||||
</member>
|
</member>
|
||||||
<member name="tile_set" type="TileSet" setter="set_tileset" getter="get_tileset">
|
|
||||||
The [TileSet] used by this [TileMap]. The textures, collisions, and additional behavior of all available tiles are stored here.
|
|
||||||
</member>
|
|
||||||
<member name="rao_noise_params" type="FastnoiseNoiseParams" setter="rao_set_noise_params" getter="rao_get_noise_params">
|
<member name="rao_noise_params" type="FastnoiseNoiseParams" setter="rao_set_noise_params" getter="rao_get_noise_params">
|
||||||
</member>
|
</member>
|
||||||
<member name="rao_strength" type="float" setter="rao_set_strength" getter="rao_get_strength" default="0.3">
|
<member name="rao_strength" type="float" setter="rao_set_strength" getter="rao_get_strength" default="0.3">
|
||||||
@ -499,6 +502,9 @@
|
|||||||
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="tile_set" type="LayeredTileSet" setter="set_tileset" getter="get_tileset">
|
||||||
|
The [TileSet] used by this [TileMap]. The textures, collisions, and additional behavior of all available tiles are stored here.
|
||||||
|
</member>
|
||||||
<member name="use_vertex_lights" type="bool" setter="set_use_vertex_lights" getter="get_use_vertex_lights" default="false">
|
<member name="use_vertex_lights" type="bool" setter="set_use_vertex_lights" getter="get_use_vertex_lights" default="false">
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<class name="LayeredTileMapLayer" inherits="Node2D" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
<class name="LayeredTileMapLayer" inherits="YSort" version="4.3">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
Node for 2D tile-based maps.
|
Node for 2D tile-based maps.
|
||||||
</brief_description>
|
</brief_description>
|
||||||
@ -132,7 +132,7 @@
|
|||||||
<method name="get_used_cells_by_id" qualifiers="const">
|
<method name="get_used_cells_by_id" qualifiers="const">
|
||||||
<return type="PoolVector2iArray" />
|
<return type="PoolVector2iArray" />
|
||||||
<argument index="0" name="source_id" type="int" default="-1" />
|
<argument index="0" name="source_id" type="int" default="-1" />
|
||||||
<argument index="1" name="atlas_coords" type="Vector2i" default="Vector2i(-1, -1)" />
|
<argument index="1" name="atlas_coords" type="Vector2i" default="Vector2i( -1, -1 )" />
|
||||||
<argument index="2" name="alternative_tile" type="int" default="-1" />
|
<argument index="2" name="alternative_tile" type="int" default="-1" />
|
||||||
<description>
|
<description>
|
||||||
Returns a [Vector2i] array with the positions of all cells containing a tile. Tiles may be filtered according to their source ([param source_id]), their atlas coordinates ([param atlas_coords]), or alternative id ([param alternative_tile]).
|
Returns a [Vector2i] array with the positions of all cells containing a tile. Tiles may be filtered according to their source ([param source_id]), their atlas coordinates ([param atlas_coords]), or alternative id ([param alternative_tile]).
|
||||||
@ -189,7 +189,7 @@
|
|||||||
<return type="void" />
|
<return type="void" />
|
||||||
<argument index="0" name="coords" type="Vector2i" />
|
<argument index="0" name="coords" type="Vector2i" />
|
||||||
<argument index="1" name="source_id" type="int" default="-1" />
|
<argument index="1" name="source_id" type="int" default="-1" />
|
||||||
<argument index="2" name="atlas_coords" type="Vector2i" default="Vector2i(-1, -1)" />
|
<argument index="2" name="atlas_coords" type="Vector2i" default="Vector2i( -1, -1 )" />
|
||||||
<argument index="3" name="alternative_tile" type="int" default="0" />
|
<argument index="3" name="alternative_tile" type="int" default="0" />
|
||||||
<description>
|
<description>
|
||||||
Sets the tile identifiers for the cell at coordinates [param coords]. Each tile of the [LayeredTileSet] is identified using three parts:
|
Sets the tile identifiers for the cell at coordinates [param coords]. Each tile of the [LayeredTileSet] is identified using three parts:
|
||||||
@ -263,12 +263,18 @@
|
|||||||
<member name="navigation_visibility_mode" type="int" setter="set_navigation_visibility_mode" getter="get_navigation_visibility_mode" enum="LayeredTileMapLayer.DebugVisibilityMode" default="0">
|
<member name="navigation_visibility_mode" type="int" setter="set_navigation_visibility_mode" getter="get_navigation_visibility_mode" enum="LayeredTileMapLayer.DebugVisibilityMode" default="0">
|
||||||
Show or hide the [LayeredTileMapLayer]'s navigation meshes. If set to [constant DEBUG_VISIBILITY_MODE_DEFAULT], this depends on the show navigation debug settings.
|
Show or hide the [LayeredTileMapLayer]'s navigation meshes. If set to [constant DEBUG_VISIBILITY_MODE_DEFAULT], this depends on the show navigation debug settings.
|
||||||
</member>
|
</member>
|
||||||
|
<member name="rao_noise_params" type="FastnoiseNoiseParams" setter="rao_set_noise_params" getter="rao_get_noise_params">
|
||||||
|
</member>
|
||||||
|
<member name="rao_strength" type="float" setter="rao_set_strength" getter="rao_get_strength" default="0.3">
|
||||||
|
</member>
|
||||||
|
<member name="rao_use" type="bool" setter="rao_set_use" getter="rao_get_use" default="true">
|
||||||
|
</member>
|
||||||
<member name="rendering_quadrant_size" type="int" setter="set_rendering_quadrant_size" getter="get_rendering_quadrant_size" default="16">
|
<member name="rendering_quadrant_size" type="int" setter="set_rendering_quadrant_size" getter="get_rendering_quadrant_size" default="16">
|
||||||
The [LayeredTileMapLayer]'s quadrant size. A quadrant is a group of tiles to be drawn together on a single canvas item, for optimization purposes. [member rendering_quadrant_size] defines the length of a square's side, in the map's coordinate system, that forms the quadrant. Thus, the default quandrant size groups together [code]16 * 16 = 256[/code] tiles.
|
The [LayeredTileMapLayer]'s quadrant size. A quadrant is a group of tiles to be drawn together on a single canvas item, for optimization purposes. [member rendering_quadrant_size] defines the length of a square's side, in the map's coordinate system, that forms the quadrant. Thus, the default quandrant size groups together [code]16 * 16 = 256[/code] tiles.
|
||||||
The quadrant size does not apply on a Y-sorted [LayeredTileMapLayer], as tiles are be grouped by Y position instead in that case.
|
The quadrant size does not apply on a Y-sorted [LayeredTileMapLayer], 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 [LayeredTileMapLayer]'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 [LayeredTileMapLayer]'s local coordinate system.
|
||||||
</member>
|
</member>
|
||||||
<member name="tile_map_data" type="PoolByteArray" setter="set_tile_map_data_from_array" getter="get_tile_map_data_as_array" default="PoolByteArray(0, 0)">
|
<member name="tile_map_data" type="PoolByteArray" setter="set_tile_map_data_from_array" getter="get_tile_map_data_as_array" default="PoolByteArray( "AAA=" )">
|
||||||
The raw tile map data as a byte array.
|
The raw tile map data as a byte array.
|
||||||
</member>
|
</member>
|
||||||
<member name="tile_set" type="LayeredTileSet" setter="set_tile_set" getter="get_tile_set">
|
<member name="tile_set" type="LayeredTileSet" setter="set_tile_set" getter="get_tile_set">
|
||||||
@ -277,6 +283,8 @@
|
|||||||
<member name="use_kinematic_bodies" type="bool" setter="set_use_kinematic_bodies" getter="is_using_kinematic_bodies" default="false">
|
<member name="use_kinematic_bodies" type="bool" setter="set_use_kinematic_bodies" getter="is_using_kinematic_bodies" default="false">
|
||||||
If [code]true[/code], this [LayeredTileMapLayer] collision shapes will be instantiated as kinematic bodies. This can be needed for moving [LayeredTileMapLayer] nodes (i.e. moving platforms).
|
If [code]true[/code], this [LayeredTileMapLayer] collision shapes will be instantiated as kinematic bodies. This can be needed for moving [LayeredTileMapLayer] nodes (i.e. moving platforms).
|
||||||
</member>
|
</member>
|
||||||
|
<member name="use_vertex_lights" type="bool" setter="set_use_vertex_lights" getter="get_use_vertex_lights" default="false">
|
||||||
|
</member>
|
||||||
<member name="y_sort_origin" type="int" setter="set_y_sort_origin" getter="get_y_sort_origin" default="0">
|
<member name="y_sort_origin" type="int" setter="set_y_sort_origin" getter="get_y_sort_origin" default="0">
|
||||||
This Y-sort origin value is added to each tile's Y-sort origin value. This allows, for example, to fake a different height level. This can be useful for top-down view games.
|
This Y-sort origin value is added to each tile's Y-sort origin value. This allows, for example, to fake a different height level. This can be useful for top-down view games.
|
||||||
</member>
|
</member>
|
||||||
|
Loading…
Reference in New Issue
Block a user