docs.unity3d.com
    Show / Hide Table of Contents

    Class LayerChunk

    Parsed representation of an Aseprite Layer chunk.

    Inheritance
    Object
    BaseChunk
    LayerChunk
    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 LayerChunk : BaseChunk, IDisposable

    Properties

    blendMode

    Layer blend mode.

    Declaration
    public BlendModes blendMode { get; }
    Property Value
    Type Description
    BlendModes

    childLevel

    The child level is used to show the relationship of this layer with the last one read.

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

    chunkType

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

    flags

    Layer option flags.

    Declaration
    public LayerFlags flags { get; }
    Property Value
    Type Description
    LayerFlags

    layerType

    Type of layer.

    Declaration
    public LayerTypes layerType { get; }
    Property Value
    Type Description
    LayerTypes

    name

    Layer name.

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

    opacity

    Declaration
    public byte opacity { get; }
    Property Value
    Type Description
    Byte

    tileSetIndex

    Tileset index (Only available for Tilemap layers).

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

    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