Skip to main content

Vignette

Represents a PostEffect specifically designed for the Vignette.

TypeNameInterface Description
Variablescontrast: number

Function: Gets or sets the vignette contrast value. Adjusts the sharpness of the vignette falloff between center and edges. Range: [1, 50].

Variablespower: number

Function: Gets or sets the vignette power value. Controls the radial strength of the darkening effect towards screen corners. Range: [0, 10].

Functionsconstructor()

Examples

constructor()

let obj = new APJS.Vignette();

Use Case

@component()
export class NewBehaviourScript extends APJS.BasicScriptComponent {
onStart() {
// TODO: instantiate / use Vignette here
}
onUpdate(deltaTime: number) {
}
}
Copyright © 2026 TikTok. All rights reserved.
About TikTokHelp CenterCareersContactLegalTerms of ServicePrivacy PolicyCookies