Skip to content

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 ​

ParameterTypeDefault value
objContainerundefined
r3AnimR3undefined
force?booleanfalse

Returns ​

Card3dFilter

Overrides ​

Filter.constructor

Properties ​

PropertyType
objContainer
stateCardState

Methods ​

apply() ​

ts
apply(
   filterManager, 
   input, 
   output, 
   clearMode
): void;

Applies the filter

Parameters ​

ParameterTypeDescription
filterManagerFilterSystemThe renderer to retrieve the filter from
inputTextureThe input render target.
outputRenderSurfaceThe target to output to.
clearModebooleanShould the output be cleared before rendering to it

Returns ​

void

Overrides ​

Filter.apply

HereSplash — 2D animation for the web