PIXI.filters.BevelFilter
class BevelFilter extends PIXI.Filter
Bevel Filter.


Constructor
new PIXI.filters.BevelFilter(options: object) → {}
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
| options | object |
<optional> |
The optional parameters of the filter. |
|
| options.rotation | number |
<optional> |
45 |
The angle of the light in degrees. |
| options.thickness | number |
<optional> |
2 |
The tickness of the bevel. |
| options.lightColor | number |
<optional> |
0xffffff |
Color of the light. |
| options.lightAlpha | number |
<optional> |
0.7 |
Alpha of the light. |
| options.shadowColor | number |
<optional> |
0x000000 |
Color of the shadow. |
| options.shadowAlpha | number |
<optional> |
0.7 |
Alpha of the shadow. |
Summary
Properties from BevelFilter
| number |
|
| number |
|
| number |
|
| number |
|
| number |
|
| number |
|
Properties inherited from Filter
| boolean |
|
| PIXI.BLEND_MODES |
|
| boolean |
If enabled is true the filter is applied, if false it will not. |
| boolean |
|
| PIXI.MSAA_QUALITY |
The samples of the filter. |
| number |
|
| number |
|
| PIXI.State |
The WebGL state the filter requires to render. |
Properties inherited from Shader
| PIXI.Program |
Program that the shader uses. |
| Dict<any> |
|
Methods inherited from Filter
| void |
|