WebAvSpriteSnapshot
此内容尚不支持你的语言。
Defined in: packages/sdk/src/migration.ts:79
Serializable projection of WebAV BaseSprite public state.
WebAV deliberately keeps the IClip and its bytes private on OffscreenSprite, so callers must bind the source Asset explicitly instead of the adapter pretending it can recover source bytes from a Sprite.
Properties
Section titled “Properties”animation?
Section titled “animation?”
readonlyoptionalanimation: readonlyWebAvAnimationFrame[]
Defined in: packages/sdk/src/migration.ts:103
WebAV’s private animation state must be projected explicitly by the caller.
assetId
Section titled “assetId”
readonlyassetId:string
Defined in: packages/sdk/src/migration.ts:82
readonlyoptionalflip:"horizontal"|"vertical"|null
Defined in: packages/sdk/src/migration.ts:97
readonlyid:string
Defined in: packages/sdk/src/migration.ts:80
includeAudio?
Section titled “includeAudio?”
readonlyoptionalincludeAudio:boolean
Defined in: packages/sdk/src/migration.ts:101
Set when the WebAV IClip produces audio as well as video.
readonlykind:"audio"|"image"|"video"
Defined in: packages/sdk/src/migration.ts:81
opacity?
Section titled “opacity?”
readonlyoptionalopacity:number
Defined in: packages/sdk/src/migration.ts:96
readonlyoptionalrect:object
Defined in: packages/sdk/src/migration.ts:88
angle?
Section titled “angle?”
readonlyoptionalangle:number
readonlyh:number
readonlyw:number
readonlyx:number
readonlyy:number
sourceStartUs?
Section titled “sourceStartUs?”
readonlyoptionalsourceStartUs:number
Defined in: packages/sdk/src/migration.ts:99
readonlytime:object
Defined in: packages/sdk/src/migration.ts:83
duration
Section titled “duration”
readonlyduration:number
offset
Section titled “offset”
readonlyoffset:number
playbackRate?
Section titled “playbackRate?”
readonlyoptionalplaybackRate:number
visible?
Section titled “visible?”
readonlyoptionalvisible:boolean
Defined in: packages/sdk/src/migration.ts:98
zIndex?
Section titled “zIndex?”
readonlyoptionalzIndex:number
Defined in: packages/sdk/src/migration.ts:95