跳转到内容

TitaniumRendererOptions

Defined in: packages/core/src/bg-render/titanium/index.ts:27

Titanium 渲染器的可调选项。

Property Type Description Defined in
crestShiftMs number 换封面时锋线迁移的时长(毫秒),默认 2000。 设为 0 表示直接跳到新姿态。 packages/core/src/bg-render/titanium/index.ts:40
dithering boolean 是否启用抖动,默认 true。 packages/core/src/bg-render/titanium/index.ts:42
grain number 细颗粒(粉末质感)强度,取值范围 [0, 1],默认 0.7。 packages/core/src/bg-render/titanium/index.ts:29
metalness number 金属化程度,向画面亮度去饱和,取值范围 [0, 1],默认 0.35。 packages/core/src/bg-render/titanium/index.ts:35
paletteAlgorithm PaletteAlgorithm 取色算法,默认 "auto"。 packages/core/src/bg-render/titanium/index.ts:44
sheen number 金属高光强度,取值范围 [0, 1],默认 0.5。 packages/core/src/bg-render/titanium/index.ts:33
sparkle number 金属闪粉强度,取值范围 [0, 1],默认 0.75。 packages/core/src/bg-render/titanium/index.ts:31