Scripting API
Scripting API
TileOutline
Record in Abyss.Core, from Abyss.Core.
One line of the outline Physics 2D meets a Tilemap's tiles by, in the Tilemap's own units: a loop round a region of solid tiles, the solid on the left of each piece, or the top of a row of one-way tiles. See WorldTilemaps.Outlines.
public record TileOutlineConstructors
TileOutline
public TileOutline(IReadOnlyList<Vector2> Points, bool Closed, bool OneWay)One line of the outline Physics 2D meets a Tilemap's tiles by, in the Tilemap's own units: a loop round a region of solid tiles, the solid on the left of each piece, or the top of a row of one-way tiles. See WorldTilemaps.Outlines.
Parameters
Points: Its corners, in order; a loop's last joined to its first.Closed: Whether it is a loop.OneWay: Whether it is the top of one-way tiles, met from above alone.
Properties
Points
public IReadOnlyList<Vector2> Points { get; init; }Its corners, in order; a loop's last joined to its first.
Closed
public bool Closed { get; init; }Whether it is a loop.
OneWay
public bool OneWay { get; init; }Whether it is the top of one-way tiles, met from above alone.
