Home

TileTransitionVariantLayout

The properties from the parent TileSpriteLayoutVariant provide defaults for the properties defined here.

The {inner_corner | outer_corner | side | double_side | u_transition | o_transition}_* properties provide defaults for the properties inside the specific variant. They are used to specify select values for the variant without creating the table for the variant.

These various ways to define the variants are also shown in the examples below.

Type

struct

Properties

x_offset

y_offset

inner_corner

Defaults to the values set in the inner_corner_* properties.

outer_corner

Defaults to the values set in the outer_corner_* properties.

side

Defaults to the values set in the side_* properties.

double_side

Defaults to the values set in the double_side_* properties.

u_transition

Defaults to the values set in the u_transition_* properties.

o_transition

Defaults to the values set in the o_transition_* properties.

inner_corner_scale

inner_corner_x

Horizontal position of the sprite in the source file in pixels.

inner_corner_y

Vertical position of the sprite in the source file in pixels.

inner_corner_tile_height

inner_corner_line_length

inner_corner_count

outer_corner_scale

outer_corner_x

Horizontal position of the sprite in the source file in pixels.

outer_corner_y

Vertical position of the sprite in the source file in pixels.

outer_corner_tile_height

outer_corner_line_length

outer_corner_count

side_scale

side_x

Horizontal position of the sprite in the source file in pixels.

side_y

Vertical position of the sprite in the source file in pixels.

side_tile_height

side_line_length

side_count

double_side_scale

double_side_x

Horizontal position of the sprite in the source file in pixels.

double_side_y

Vertical position of the sprite in the source file in pixels.

double_side_tile_height

double_side_line_length

double_side_count

u_transition_scale

u_transition_x

Horizontal position of the sprite in the source file in pixels.

u_transition_y

Vertical position of the sprite in the source file in pixels.

u_transition_tile_height

u_transition_line_length

u_transition_count

o_transition_scale

o_transition_x

Horizontal position of the sprite in the source file in pixels.

o_transition_y

Vertical position of the sprite in the source file in pixels.

o_transition_tile_height

o_transition_line_length

o_transition_count