Skip to main content

PostProcess

Represents a dynamic component specifically designed for the PostProcess.

TypeNameInterface Description
Variablesbloom: Bloom | null

Function: Bloom effect configuration. Returns null when no Bloom effect is configured on this PostProcess component. Bloom is a visual effect that makes bright areas of the scene appear to glow.

VariablesbokehBlur: BokehBlur | null

Function: Bokeh blur effect configuration. Returns null when no BokehBlur effect is configured on this PostProcess component. Simulates the optical effect of defocus blur with customizable shapes.

VariableschromaticAberration: ChromaticAberration | null

Function: Chromatic aberration effect configuration. Returns null when no ChromaticAberration effect is configured on this PostProcess component. Simulates the optical effect where different wavelengths of light are focused at different points.

Variablescustom: Custom | null

Function: Custom effect configuration. Returns null when no Custom effect is configured on this PostProcess component. Allows for applying user-defined post-processing effects through custom materials.

Variablesdistort: Distort | null

Function: Distortion effect configuration. Returns null when no Distort effect is configured on this PostProcess component. Applies distortion effects to the scene, such as barrel distortion or wave effects.

Variablesfxaa: Fxaa | null

Function: FXAA (Fast Approximate Anti-Aliasing) effect configuration. Returns null when no Fxaa effect is configured on this PostProcess component. Reduces aliasing artifacts in the rendered image with minimal performance impact.

Variablesgrain: Grain | null

Function: Film grain effect configuration. Returns null when no Grain effect is configured on this PostProcess component. Adds film-like grain to the scene for artistic purposes.

VariableslensFlare: LensFlare | null

Function: Lens flare effect configuration. Returns null when no LensFlare effect is configured on this PostProcess component. Simulates the optical phenomenon that occurs when light hits the lens of a camera.

VariablesmotionBlur: MotionBlur | null

Function: Motion blur effect configuration. Returns null when no MotionBlur effect is configured on this PostProcess component. Creates a blur effect based on the velocity of objects or camera movement.

Variablesvignette: Vignette | null

Function: Vignette effect configuration. Returns null when no Vignette effect is configured on this PostProcess component. Darkens the edges of the screen to draw attention to the center.

Functionsconstructor()

Examples

constructor()

let obj = new APJS.PostProcess();

Use Case

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