Strata - v1.4.10
    Preparing search index...

    Interface DynamicDOFProps

    Props for the DynamicDOF component.

    interface DynamicDOFProps {
        bokehScale?: number;
        enabled?: boolean;
        focalLength?: number;
        focusDistance?: number;
        focusSpeed?: number;
        multisampling?: number;
        target?: RefObject<Object3D<Object3DEventMap>>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    bokehScale?: number

    Size of the bokeh blur circles. Default: 2.0.

    enabled?: boolean

    Whether the effect is active. Default: true.

    focalLength?: number

    Virtual lens focal length in mm. Default: 50.

    focusDistance?: number

    Fixed focus distance if no target is provided. Default: 5.0.

    focusSpeed?: number

    Speed of focus tracking adjustment. Default: 5.0.

    multisampling?: number

    Anti-aliasing quality. Default: 8.

    target?: RefObject<Object3D<Object3DEventMap>>

    Target object to track for focusing.