Skip to content

Interface: ResolvedInstance<T> ​

Defined in: src/InstanceResolver.ts:12

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: src/InstanceResolver.ts:20

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


child ​

child: InstanceChildState<T>

Defined in: src/InstanceResolver.ts:18

The child player and its slot state.


childAlpha ​

childAlpha: number

Defined in: src/InstanceResolver.ts:22

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


composed ​

composed: Float32Array

Defined in: src/InstanceResolver.ts:24

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


frameNo ​

frameNo: number

Defined in: src/InstanceResolver.ts:30

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


influence ​

influence: boolean

Defined in: src/InstanceResolver.ts:26

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


partIdx ​

partIdx: number

Defined in: src/InstanceResolver.ts:14

Part index of the instance part itself.


rank ​

rank: number

Defined in: src/InstanceResolver.ts:16

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


visibleInside ​

visibleInside: boolean

Defined in: src/InstanceResolver.ts:28

The instance part's own visible_inside_mask, handed down.