Appearance
pixi-hm05 (player) / pixi-hm05 / Card3dFilter
Class: Card3dFilter
The perspective warp of one card (one filter per object: its uniforms are the object's).
Extends
Filter
Constructors
Constructor
ts
new Card3dFilter(
obj,
r3,
force?
): Card3dFilter;Parameters
| Parameter | Type | Default value |
|---|---|---|
obj | Container | undefined |
r3 | AnimR3 | undefined |
force? | boolean | false |
Returns
Card3dFilter
Overrides
Filter.constructor
Properties
| Property | Type |
|---|---|
obj | Container |
state | CardState |
Methods
apply()
ts
apply(
filterManager,
input,
output,
clearMode
): void;Applies the filter
Parameters
| Parameter | Type | Description |
|---|---|---|
filterManager | FilterSystem | The renderer to retrieve the filter from |
input | Texture | The input render target. |
output | RenderSurface | The target to output to. |
clearMode | boolean | Should the output be cleared before rendering to it |
Returns
void
Overrides
Filter.apply