Interface: LottieFromUrlOptions
Defined in: src/mobjects/lottie/LottieMobject.ts:140
Options for LottieMobject.fromUrl.
Extends
Omit<LottieMobjectOptions,"animationData">
Properties
center?
optionalcenter:Vector3Tuple
Defined in: src/mobjects/lottie/LottieMobject.ts:130
Center position [x, y, z]. Default: [0, 0, 0].
Inherited from
doubleSided?
optionaldoubleSided:boolean
Defined in: src/mobjects/lottie/LottieMobject.ts:134
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:142
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:126
Height in scene units. Default: auto from the composition aspect ratio.
Inherited from
loop?
optionalloop:boolean
Defined in: src/mobjects/lottie/LottieMobject.ts:120
Loop the composition during live playback and time wrapping. Default: false.
Inherited from
opacity?
optionalopacity:number
Defined in: src/mobjects/lottie/LottieMobject.ts:132
Opacity from 0 to 1. Default: 1.
Inherited from
player?
optionalplayer:LottiePlayer
Defined in: src/mobjects/lottie/LottieMobject.ts:136
Inject a player directly (bypasses the factory and the network).
Inherited from
scaleToFit?
optionalscaleToFit:boolean
Defined in: src/mobjects/lottie/LottieMobject.ts:128
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:122
Playback speed multiplier (1 = normal). Default: 1.
Inherited from
width?
optionalwidth:number
Defined in: src/mobjects/lottie/LottieMobject.ts:124
Width in scene units. Default: auto from the composition aspect ratio.