UNPKG

@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.

26 lines (25 loc) 827 B
import type { DepthOfFieldEffect } from "postprocessing"; import { PostProcessingEffect } from "../PostProcessingEffect.js"; import { VolumeParameter } from "../VolumeParameter.js"; export declare enum DepthOfFieldMode { Off = 0, Gaussian = 1, Bokeh = 2 } /** * @category Effects * @group Components */ export declare class DepthOfField extends PostProcessingEffect { get typeName(): string; mode: DepthOfFieldMode; readonly focusDistance: VolumeParameter; readonly focalLength: VolumeParameter; readonly aperture: VolumeParameter; readonly gaussianMaxRadius: VolumeParameter; readonly resolutionScale: VolumeParameter; readonly bokehScale: VolumeParameter; init(): void; onCreateEffect(): DepthOfFieldEffect[] | undefined; unapply(): void; }