Skip to content

Interface: ResolvedInstance<T> ​

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

One instance part, resolved for the frame currently being drawn: whether it contributes at all, where its sub-animation lands, and the mask context it hands down. Reusable scratch — see InstanceResolver.resolve.

Type Parameters ​

T ​

T

Properties ​

alpha ​

alpha: number

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

The instance part's own alpha this frame (always > 0; 0 resolves to null).


child ​

child: InstanceChildState<T>

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

The child player and its slot state.


childAlpha ​

childAlpha: number

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

Opacity for the sub-animation: the instance ancestry's, folded with alpha.


composed ​

composed: Float32Array

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

owner parentMatrix ∘ instance world ∘ child local. Aliases child.parentMatrix.


frameNo ​

frameNo: number

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

The child's playhead, honouring subFrameEnabled (see getFrameNo).


influence ​

influence: boolean

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

The instance part's own mask_influence, handed to the sub-animation.


partIdx ​

partIdx: number

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

Part index of the instance part itself.


rank ​

rank: number

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

Its rank in the OWNER's draw order — where scope is judged.


visibleInside ​

visibleInside: boolean

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

The instance part's own visible_inside_mask, handed down.