docs.unity3d.com
    Show / Hide Table of Contents

    Class ColorProfileChunk

    Parsed representation of an Aseprite ColorProfile chunk.

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

    Properties

    chunkType

    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
    UInt16

    gamma

    Fixed gamma (1.0 = linear).

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

    profileType

    The color profile used in this Aseprite file.

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

    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