docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ColorProfileChunk

    Parsed representation of an Aseprite ColorProfile chunk.

    Inheritance
    object
    BaseChunk
    ColorProfileChunk
    Implements
    IDisposable
    Inherited Members
    BaseChunk.m_ChunkSize
    BaseChunk.Dispose()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.U2D.Aseprite
    Assembly: Unity.2D.Aseprite.Editor.dll
    Syntax
    public class ColorProfileChunk : BaseChunk, IDisposable

    Properties

    chunkType

    The type of the chunk.

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

    flags

    Flags for this color profile.
    1 - use special fixed gamma.

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

    gamma

    Fixed gamma (1.0 = linear).

    Declaration
    public float gamma { get; }
    Property Value
    Type Description
    float

    profileType

    The color profile used in this Aseprite file.

    Declaration
    public ColorProfileTypes profileType { get; }
    Property Value
    Type Description
    ColorProfileTypes

    Methods

    InternalRead(BinaryReader)

    Read and store the chunk data.

    Declaration
    protected override void InternalRead(BinaryReader reader)
    Parameters
    Type Name Description
    BinaryReader reader

    The active binary reader of the file.

    Overrides
    BaseChunk.InternalRead(BinaryReader)

    Implements

    IDisposable
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)