SpriteLayer.setPaletteID

Sets the paletteID of the sprite. Returns the new ID, which is truncated to the possible values with a simple binary and operation Palette must exist in the parent Raster, otherwise AccessError might happen

class SpriteLayer
@nogc pure @safe nothrow
ushort
setPaletteID
(
int n
,
ushort paletteID
)

Meta