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

CopyMaterial

Extends:

three~ShaderMaterial → CopyMaterial

A simple copy shader material.

Constructor Summary

Public Constructor
public

Constructs a new copy material.

Member Summary

Public Members
public
public set

inputBuffer: Texture

The input buffer.

Method Summary

Public Methods
public

getOpacity(value: *): Number

this method was deprecated. Use opacity instead.

Returns the opacity.

public
this method was deprecated. Use inputBuffer instead.

Sets the input buffer.

public

setOpacity(value: Number)

this method was deprecated. Use opacity instead.

Sets the opacity.

Public Constructors

public constructor() source

Constructs a new copy material.

Public Members

public fragmentShader: * source

public set inputBuffer: Texture source

The input buffer.

Public Methods

public getOpacity(value: *): Number source

this method was deprecated. Use opacity instead.

Returns the opacity.

Params:

NameTypeAttributeDescription
value *

Return:

Number

The opacity.

public setInputBuffer(value: Number) source

this method was deprecated. Use inputBuffer instead.

Sets the input buffer.

Params:

NameTypeAttributeDescription
value Number

The buffer.

public setOpacity(value: Number) source

this method was deprecated. Use opacity instead.

Sets the opacity.

Params:

NameTypeAttributeDescription
value Number

The opacity.