You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: addons/gaea/resources/materials/data/tilemap_material.gd
+15-8Lines changed: 15 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,8 @@ extends GaeaMaterial
5
5
6
6
enumType {
7
7
SINGLE_CELL, ## Tile is just a single cell in the TileMap. Requires a [param source_id] and a [param atlas_coord]. Can optionally be an [param alternative_tile].
8
-
TERRAIN## Tile is a terrain from a terrain set. Allows for autotiling. Requires a [param terrain_set] and a [param terrain]
8
+
TERRAIN, ## Tile is a terrain from a terrain set. Allows for autotiling. Requires a [param terrain_set] and a [param terrain]
9
+
PATTERN## Tile is a pattern of cell. Requires a [param pattern_index] and a [param pattern_offset].
9
10
}
10
11
11
12
## Determines how the [TileMapGaeaRenderer] uses this material.
@@ -28,16 +29,22 @@ enum Type {
28
29
@exportvarterrain_set: int=0
29
30
## Terrain in the terrain set determined previously.
30
31
@exportvarterrain: int=0
32
+
## Pattern index in the pattern list of the [TileSet].
33
+
@exportvarpattern_index: int=0
34
+
## Pattern offset use to shift the tiles from the origin (Top left corner of the pattern).
0 commit comments