docs.unity3d.com
    Show / Hide Table of Contents

    Class TilesetChunk

    Parsed representation of an Aseprite Tileset chunk.

    Inheritance
    Object
    BaseChunk
    TilesetChunk
    Inherited Members
    BaseChunk.m_ChunkSize
    BaseChunk.Dispose()
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.U2D.Aseprite
    Syntax
    public class TilesetChunk : BaseChunk, IDisposable

    Properties

    chunkType

    Declaration
    public override ChunkTypes chunkType { get; }
    Property Value
    Type Description
    ChunkTypes
    Overrides
    BaseChunk.chunkType

    height

    Tile height in pixels.

    Declaration
    public ushort height { get; }
    Property Value
    Type Description
    UInt16

    noOfTiles

    The number of tiles in the tileset.

    Declaration
    public uint noOfTiles { get; }
    Property Value
    Type Description
    UInt32

    tileSetFlags

    Flags to define where data for a tileset is stored.

    Declaration
    public TileSetFlags tileSetFlags { get; }
    Property Value
    Type Description
    TileSetFlags

    tileSetId

    The ID of the tileset.

    Declaration
    public uint tileSetId { get; }
    Property Value
    Type Description
    UInt32

    tileSetName

    The name of the tileset.

    Declaration
    public string tileSetName { get; }
    Property Value
    Type Description
    String

    width

    Tile width in pixels.

    Declaration
    public ushort width { get; }
    Property Value
    Type Description
    UInt16

    Methods

    InternalRead(BinaryReader)

    Declaration
    protected override void InternalRead(BinaryReader reader)
    Parameters
    Type Name Description
    BinaryReader reader
    Overrides
    BaseChunk.InternalRead(BinaryReader)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023