Interface: LottieFromUrlOptions
Defined in: src/mobjects/lottie/LottieMobject.ts:142
Options for LottieMobject.fromUrl.
Extends
Omit<LottieMobjectOptions,"animationData">
Properties
center?
optionalcenter:Vector3Tuple
Defined in: src/mobjects/lottie/LottieMobject.ts:132
Center position [x, y, z]. Default: [0, 0, 0].
Inherited from
doubleSided?
optionaldoubleSided:boolean
Defined in: src/mobjects/lottie/LottieMobject.ts:136
Render both sides of the plane. Default: false.
Inherited from
LottieMobjectOptions.doubleSided
fetchImpl()?
optionalfetchImpl: {(input,init?):Promise<Response>; (input,init?):Promise<Response>; }
Defined in: src/mobjects/lottie/LottieMobject.ts:144
Inject a fetch implementation (bypasses the global; used by tests).
Call Signature
(
input,init?):Promise<Response>
Parameters
input
RequestInfo | URL
init?
RequestInit
Returns
Promise<Response>
Call Signature
(
input,init?):Promise<Response>
Parameters
input
string | Request | URL
init?
RequestInit
Returns
Promise<Response>
height?
optionalheight:number
Defined in: src/mobjects/lottie/LottieMobject.ts:128
Height in scene units. Default: auto from the composition aspect ratio.
Inherited from
loop?
optionalloop:boolean
Defined in: src/mobjects/lottie/LottieMobject.ts:122
Loop the composition during live playback and time wrapping. Default: false.
Inherited from
opacity?
optionalopacity:number
Defined in: src/mobjects/lottie/LottieMobject.ts:134
Opacity from 0 to 1. Default: 1.
Inherited from
player?
optionalplayer:LottiePlayer
Defined in: src/mobjects/lottie/LottieMobject.ts:138
Inject a player directly (bypasses the factory and the network).
Inherited from
scaleToFit?
optionalscaleToFit:boolean
Defined in: src/mobjects/lottie/LottieMobject.ts:130
If both width and height given, fit inside the box preserving aspect. Default: true.
Inherited from
LottieMobjectOptions.scaleToFit
speed?
optionalspeed:number
Defined in: src/mobjects/lottie/LottieMobject.ts:124
Playback speed multiplier (1 = normal). Default: 1.
Inherited from
width?
optionalwidth:number
Defined in: src/mobjects/lottie/LottieMobject.ts:126
Width in scene units. Default: auto from the composition aspect ratio.