C# 클래스 Glare.Assets.PaletteAsset

A collection of color values.
상속: Asset
파일 보기 프로젝트 열기: Burton-Radons/Alexandria 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
ColorsMutable Codex

공개 메소드들

메소드 설명
Browse ( Action progressUpdateCallback = null ) : Control

Produces a picture box showing the colors.

PaletteAsset ( AssetManager manager, string name ) : System

Initialise the asset.

PaletteAsset ( AssetManager manager, string name, IEnumerable colors ) : System

Initialise the asset.

PaletteAsset ( FolderAsset folder, string name ) : System

Initialise the asset.

PaletteAsset ( FolderAsset folder, string name, IEnumerable colors ) : System

Initialise the asset.

ReadRgb ( AssetManager manager, string name, BinaryReader reader, int count, int max, int transparentIndex = -1, IEnumerable leftPadding = null, IEnumerable rightPadding = null ) : PaletteAsset

Read a PaletteAsset from the BinaryReader.

메소드 상세

Browse() 공개 메소드

Produces a picture box showing the colors.
public Browse ( Action progressUpdateCallback = null ) : Control
progressUpdateCallback Action
리턴 System.Windows.Forms.Control

PaletteAsset() 공개 메소드

Initialise the asset.
public PaletteAsset ( AssetManager manager, string name ) : System
manager AssetManager
name string
리턴 System

PaletteAsset() 공개 메소드

Initialise the asset.
public PaletteAsset ( AssetManager manager, string name, IEnumerable colors ) : System
manager AssetManager
name string
colors IEnumerable
리턴 System

PaletteAsset() 공개 메소드

Initialise the asset.
public PaletteAsset ( FolderAsset folder, string name ) : System
folder FolderAsset
name string
리턴 System

PaletteAsset() 공개 메소드

Initialise the asset.
public PaletteAsset ( FolderAsset folder, string name, IEnumerable colors ) : System
folder FolderAsset
name string
colors IEnumerable
리턴 System

ReadRgb() 공개 정적인 메소드

Read a PaletteAsset from the BinaryReader.
public static ReadRgb ( AssetManager manager, string name, BinaryReader reader, int count, int max, int transparentIndex = -1, IEnumerable leftPadding = null, IEnumerable rightPadding = null ) : PaletteAsset
manager AssetManager
name string
reader System.IO.BinaryReader
count int
max int
transparentIndex int
leftPadding IEnumerable Colors that are added to the start of the palette, if non-null.
rightPadding IEnumerable Colors that are added to the end of the palette, if non-null.
리턴 PaletteAsset

프로퍼티 상세

ColorsMutable 보호되어 있는 프로퍼티

Get the collection of colors.
protected Codex ColorsMutable
리턴 Codex