Appearance
anim-format (runtime format) / dressItem
Function: dressItem()
ts
function dressItem(
file,
item,
rules,
sameKind?
): Item;item as drawn under rules: the same item when it shows no slot entry or no rule dresses it. A dressed item is the other entry's content with this item's look (alpha, colour, filters, blend, visible, 3D, motion blur, id, instance variables) and place (slotSwitchMatrix). A mesh keeps its pulls when the other mesh has as many points (else they are dropped, as in the editor). sameKind (an object layer: ONE object all along) only switches a picture to a picture.
Parameters
| Parameter | Type | Default value |
|---|---|---|
file | AnimFile | undefined |
item | Item | undefined |
rules | readonly AnimSlotRule[] | undefined |
sameKind? | boolean | false |