Class ColorProfileChunk
Parsed representation of an Aseprite ColorProfile chunk.
Implements
Inherited Members
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 |
---|---|
Chunk |
Overrides
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 |
---|---|
Color |
Methods
InternalRead(BinaryReader)
Read and store the chunk data.
Declaration
protected override void InternalRead(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
Binary |
reader | The active binary reader of the file. |