Class: Filter

Filter

各種Filterの親クラスで、共通処理が定義されてます。
Common processes are defined in the parent classes of various Filters.

new filter.Filter (object)

NameTypeDefaultDescription
objectobjectnulloptional

Members

blurX number

水平方向のぼかし量。
The amount of horizontal blur.

Default Value:
  • 4

blurY number

垂直方向のぼかし量。
The amount of vertical blur.

Default Value:
  • 4

name string

子のFilterクラスのクラス名
Class name of the child Filter class

Default Value:
  • ""

quality number

ぼかしの実行回数です。
The number of times to perform the blur.

Default Value:
  • 1

state boolean

コントローラーの表示/非表示のフラグ
Flag to show/hide controllers

Default Value:
  • true

Methods

clone ()Filter

子のクラスのクローンを生成
Generate a clone of the child class

Returns:
TypeDescription
Filter

isSame (filter)boolean

指定されたフィルターと同一の設定がないか判定
Determine if there are any settings identical to the specified filter

NameTypeDescription
filterFilter
Returns:
TypeDescription
boolean