Appearance
anim-format (runtime format) / slotRuleEntry
Function: slotRuleEntry()
ts
function slotRuleEntry(
file,
name,
rules
):
| {
entry: AnimSlotEntry;
name: string;
profile: string;
}
| undefined;What an item showing the entry called name shows under rules (weakest first; a rule naming a profile the file does not have is skipped); undefined = what it shows itself.
Parameters
| Parameter | Type |
|---|---|
file | AnimFile |
name | string |
rules | readonly AnimSlotRule[] |
Returns
| { entry: AnimSlotEntry; name: string; profile: string; } | undefined