Vignette
Represents a PostEffect specifically designed for the Vignette.
| Type | Name | Interface Description |
|---|---|---|
| Variables | contrast: number | • Function: Gets or sets the vignette contrast value. Adjusts the sharpness of the vignette falloff between center and edges. Range: [1, 50]. |
| Variables | power: number | • Function: Gets or sets the vignette power value. Controls the radial strength of the darkening effect towards screen corners. Range: [0, 10]. |
| Functions | constructor() |
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) {
}
}