Show / Hide Table of Contents

Class TilesetRectangle

This object represents a custom sub rectangle in a Tileset image.

Properties

| Improve this Doc View Source

H

Height in pixels

Type Description
System.Int32
| Improve this Doc View Source

Tileset

Type Description
TilesetDefinition

Tileset used for this rectangle data.
Make sure to call LDtkUidBank.CacheUidData(LdtkJson) first!

| Improve this Doc View Source

TilesetUid

UID of the tileset

Type Description
System.Int32
| Improve this Doc View Source

UnityRect

Type Description
UnityEngine.Rect

Rectangle of the tile in the Tileset atlas

| Improve this Doc View Source

UnityRectInt

Type Description
UnityEngine.RectInt

Rectangle of the tile in the Tileset atlas

| Improve this Doc View Source

W

Width in pixels

Type Description
System.Int32
| Improve this Doc View Source

X

X pixels coordinate of the top-left corner in the Tileset image

Type Description
System.Int32
| Improve this Doc View Source

Y

Y pixels coordinate of the top-left corner in the Tileset image

Type Description
System.Int32

Methods

| Improve this Doc View Source

Equals(TilesetRectangle)

Parameters
Type Name Description
TilesetRectangle other
Returns
Type Description
System.Boolean
| Improve this Doc View Source

ToString()

Returns
Type Description
System.String
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX