@needle-tools/engine
Version:
Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development with great integrations into editors like Unity or Blender - and can be deployed onto any device! It is flexible, extensible and networking and XR are built-in.
20 lines (19 loc) • 929 B
TypeScript
import { type EffectProviderResult, PostProcessingEffect } from "../PostProcessingEffect.js";
import { VolumeParameter } from "../VolumeParameter.js";
/**
* [Vignette](https://engine.needle.tools/docs/api/Vignette) darkens the edges of the rendered scene to draw attention to the center.
* This effect simulates the natural vignetting that occurs in photography and cinematography, where the corners of an image are darker than the center.
* It can be used to enhance the visual focus on the main subject of the scene and create a more immersive viewing experience.
* @summary Vignette Post-Processing Effect
* @category Effects
* @group Components
*/
export declare class Vignette extends PostProcessingEffect {
get typeName(): string;
color: VolumeParameter;
intensity: VolumeParameter;
center: VolumeParameter;
init(): void;
onCreateEffect(): EffectProviderResult;
private updateDarkness;
}