Skip to main content

Custom

A PostEffect implementation that enables custom post-processing effects through user-defined materials and shaders.

TypeNameInterface Description
Variablesmaterial: Material | null

Function: Gets or sets the material used for the custom post-process effect. Defines the shader applied in the effect.

Functionsconstructor()

Examples

constructor()

let obj = new APJS.Custom();

Use Case

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