OutlineMaterial
Extends:
three~ShaderMaterial → OutlineMaterial
Implements:
An outline shader material.
Constructor Summary
Public Constructor | ||
public |
constructor(texelSize: Vector2) Constructs a new outline material. |
Member Summary
Public Members | ||
public set |
inputBuffer: Texture The input buffer. |
Method Summary
Public Methods | ||
public |
setInputBuffer(value: Texture) this method was deprecated. Use inputBuffer instead.
Sets the input buffer. |
|
public |
Sets the size of this object. |
|
public |
setTexelSize(x: Number, y: Number) this method was deprecated. Use setSize() instead.
Sets the texel size. |
Public Constructors
public constructor(texelSize: Vector2) source
Constructs a new outline material.
TODO Remove texelSize param.
Params:
Name | Type | Attribute | Description |
texelSize | Vector2 |
|
The screen texel size. |