CopyMaterial
Extends:
A simple copy shader material.
Constructor Summary
| Public Constructor | ||
| public |
Constructs a new copy material. |
|
Member Summary
| Public Members | ||
| public get |
channelWeights: Vector4 | null Color channel weights that modulate texels from the input buffer. |
|
| public set |
|
|
| public |
colorWrite: * |
|
| public get |
depthBuffer: Texture A depth buffer. |
|
| public set |
|
|
| public |
depthFunc: * |
|
| public set |
depthPacking: DepthPackingStrategies The depth packing strategy of the depth buffer. |
|
| public |
depthTest: * |
|
| public |
depthWrite: * |
|
| public get |
inputBuffer: Texture The input buffer. |
|
| public set |
|
|
| public |
|
|
Method Summary
| Public Methods | ||
| public |
getOpacity(value: *): Number this method was deprecated. Use opacity instead.
Returns the opacity. |
|
| public |
setInputBuffer(value: Number) 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 Members
public get channelWeights: Vector4 | null source
Color channel weights that modulate texels from the input buffer.
Set to null to disable.
public set channelWeights source
public colorWrite: * source
public set depthBuffer source
public depthFunc: * source
public set depthPacking: DepthPackingStrategies source
The depth packing strategy of the depth buffer.
public depthTest: * source
public depthWrite: * source
public set inputBuffer source
Public Methods
public getOpacity(value: *): Number source
Returns the opacity.
Params:
| Name | Type | Attribute | Description |
| value | * |
