Appearance
anim-format (runtime format) / SpriteItem
Interface: SpriteItem
the look every item may carry (sprites too: bitmaps and text)
Extends
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
a? | number | alpha, default 1 | - |
b? | string | blend mode with what is under it, default normal. Additive in v1. | ItemLook.b |
c? | [number, number, number, number, number, number, number, number] | colour transform: [rMult, gMult, bMult, aMult, rOffset, gOffset, bOffset, aOffset], offsets in 0..255 units (out = in * mult + offset); absent = none | ItemLook.c |
f? | AnimFilter[] | filters drawn on the item, in order (after c); absent = none. Lengths are in the parent's units (they scale with what contains the instance, not with m). | ItemLook.f |
m | Matrix | - | - |
mb? | AnimMotionBlur | motion blur while its tween moves it (classic tween frames) | ItemLook.mb |
r3? | AnimR3 | 3D rotation / depth (owner 2026-10-30, t3d.ts): the item is drawn as a flat card through a perspective projection. Additive in v1. | ItemLook.r3 |
s9? | Scale9 | 9-slice scaling of a picture (cut lines in local units): the item's scale stretches only the middle (nineSliceMesh). Additive v1. | - |
sl? | AnimSlotRef | SLOT ITEM (owner 2026-11-20): this item shows the entry n (full name) of the slot profile p of AnimFile.slots; a player may draw another entry in its place (slots.ts dressItem). Additive in v1. | ItemLook.sl |
sprite | string | - | - |
v? | false | false = placed but not drawn ("Visible" off; a show action can still show it). Additive in v1. | ItemLook.v |
w? | AnimWarp | a mesh object: the sprite is drawn through this warp (mesh.ts; the mesh's rest points are in the item's local space). Additive v1. | - |