Custom
A PostEffect implementation that enables custom post-processing effects through user-defined materials and shaders.
| Type | Name | Interface Description |
|---|---|---|
| Variables | material: Material | null | • Function: Gets or sets the material used for the custom post-process effect. Defines the shader applied in the effect. |
| Functions | constructor() |
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) {
}
}