CreateProjectOptions
此内容尚不支持你的语言。
Defined in: packages/sdk/src/project-builder.ts:29
Properties
Section titled “Properties”alphaMode?
Section titled “alphaMode?”
readonlyoptionalalphaMode:"opaque"|"premultiplied"
Defined in: packages/sdk/src/project-builder.ts:45
backgroundColor?
Section titled “backgroundColor?”
readonlyoptionalbackgroundColor:string| readonly [number,number,number,number]
Defined in: packages/sdk/src/project-builder.ts:48
bitDepth?
Section titled “bitDepth?”
readonlyoptionalbitDepth:10|8
Defined in: packages/sdk/src/project-builder.ts:47
channelLayout?
Section titled “channelLayout?”
readonlyoptionalchannelLayout:"mono"|"stereo"|"5.1"
Defined in: packages/sdk/src/project-builder.ts:38
chromaSubsampling?
Section titled “chromaSubsampling?”
readonlyoptionalchromaSubsampling:"rgb"|"4:4:4"|"4:2:2"|"4:2:0"
Defined in: packages/sdk/src/project-builder.ts:44
colorPrimaries?
Section titled “colorPrimaries?”
readonlyoptionalcolorPrimaries:"bt709"|"bt2020"|"display-p3"
Defined in: packages/sdk/src/project-builder.ts:40
colorRange?
Section titled “colorRange?”
readonlyoptionalcolorRange:"full"|"limited"
Defined in: packages/sdk/src/project-builder.ts:43
durationUs?
Section titled “durationUs?”
readonlyoptionaldurationUs:number
Defined in: packages/sdk/src/project-builder.ts:50
Omit for content-derived duration.
frameRate?
Section titled “frameRate?”
readonlyoptionalframeRate:Rational
Defined in: packages/sdk/src/project-builder.ts:36
height?
Section titled “height?”
readonlyoptionalheight:number
Defined in: packages/sdk/src/project-builder.ts:35
matrixCoefficients?
Section titled “matrixCoefficients?”
readonlyoptionalmatrixCoefficients:"bt709"|"rgb"|"bt2020-ncl"
Defined in: packages/sdk/src/project-builder.ts:42
projectId?
Section titled “projectId?”
readonlyoptionalprojectId:string
Defined in: packages/sdk/src/project-builder.ts:30
sampleRate?
Section titled “sampleRate?”
readonlyoptionalsampleRate:44100|48000|96000
Defined in: packages/sdk/src/project-builder.ts:37
sequenceId?
Section titled “sequenceId?”
readonlyoptionalsequenceId:string
Defined in: packages/sdk/src/project-builder.ts:31
sequenceName?
Section titled “sequenceName?”
readonlyoptionalsequenceName:string
Defined in: packages/sdk/src/project-builder.ts:33
title?
Section titled “title?”
readonlyoptionaltitle:string
Defined in: packages/sdk/src/project-builder.ts:32
toneMapping?
Section titled “toneMapping?”
readonlyoptionaltoneMapping:"none"|"bt2390"|"reinhard"
Defined in: packages/sdk/src/project-builder.ts:46
transferFunction?
Section titled “transferFunction?”
readonlyoptionaltransferFunction:"pq"|"hlg"|"srgb"|"gamma22"
Defined in: packages/sdk/src/project-builder.ts:41
width?
Section titled “width?”
readonlyoptionalwidth:number
Defined in: packages/sdk/src/project-builder.ts:34
workingColorSpace?
Section titled “workingColorSpace?”
readonlyoptionalworkingColorSpace:"srgb-linear"|"display-p3-linear"|"rec2020-linear"
Defined in: packages/sdk/src/project-builder.ts:39