mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
Merge pull request #99204 from berarma/patch-1
Clarify documentation for TileSetAtlasSource `texture_region_size`
This commit is contained in:
commit
778723d935
@ -270,7 +270,7 @@
|
||||
The atlas texture.
|
||||
</member>
|
||||
<member name="texture_region_size" type="Vector2i" setter="set_texture_region_size" getter="get_texture_region_size" default="Vector2i(16, 16)">
|
||||
The base tile size in the texture (in pixel). This size must be bigger than the TileSet's [code]tile_size[/code] value.
|
||||
The base tile size in the texture (in pixel). This size must be bigger than or equal to the TileSet's [code]tile_size[/code] value.
|
||||
</member>
|
||||
<member name="use_texture_padding" type="bool" setter="set_use_texture_padding" getter="get_use_texture_padding" default="true">
|
||||
If [code]true[/code], generates an internal texture with an additional one pixel padding around each tile. Texture padding avoids a common artifact where lines appear between tiles.
|
||||
|
Loading…
Reference in New Issue
Block a user