Skip to content

Type Alias: SSPartOverride ​

SSPartOverride = { blendOp: SSBlendOp; kind: "color"; part: string; priority: SSOverridePriority; rgba: number; } | { cell: string; cellmap: string; kind: "cell"; part: string; priority: SSOverridePriority; } | { cascade: boolean; hide: boolean; kind: "visibility"; part: string; }

Defined in: ssplayer-core/dist/index.d.ts:2810

One override as a host stores it. Plain data (no class instances) so it round-trips through a save file, and the part is kept as a NAME rather than an index — names are what the author typed, and they stay meaningful across an SSAB whose parts table changed.