Table of Contents

Method SetColorMap

Namespace
Pinwheel.Vista.RealWorldData
Assembly
Pinwheel.Vista.RealWorldData.Runtime.dll

SetColorMap(Color32[], Vector2Int)

Replaces the stored color-map buffer and invalidates the lazily built runtime texture.

protected void SetColorMap(Color32[] data, Vector2Int size)

Parameters

data Color32[]

Color samples to store.

size Vector2Int

Texture dimensions corresponding to data.

Exceptions

ArgumentException

Thrown when the buffer length does not match the supplied dimensions.