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 during

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

Meta