Home Reference Source
import {CircleOfConfusionMaterial} from 'postprocessing'
public class | source

CircleOfConfusionMaterial

Extends:

three~ShaderMaterial → CircleOfConfusionMaterial

A CoC shader material.

Constructor Summary

Public Constructor
public

constructor(camera: Camera)

Constructs a new CoC material.

Member Summary

Public Members
public get

The current depth packing.

public set

Sets the depth packing.

public

Method Summary

Public Methods
public

adoptCameraSettings(camera: Camera)

Adopts the settings of the given camera.

Public Constructors

public constructor(camera: Camera) source

Constructs a new CoC material.

Params:

NameTypeAttributeDescription
camera Camera

A camera.

Public Members

public get depthPacking: Number source

The current depth packing.

public set depthPacking: Number source

Sets the depth packing.

public needsUpdate: boolean source

Public Methods

public adoptCameraSettings(camera: Camera) source

Adopts the settings of the given camera.

Params:

NameTypeAttributeDescription
camera Camera
  • optional
  • default: null

A camera.