Name | Type | Default | Description |
---|---|---|---|
map_bitmap | BitmapData | null | optional |
map_point | Point | null | optional |
component_x | number | 0 | optional |
component_y | number | 0 | optional |
scale_x | number | 0.0 | optional |
scale_y | number | 0.0 | optional |
mode | string | DisplacementMapFilterMode.WRAP | optional |
color | number | 0 | optional |
alpha | number | 0.0 | optional |
Extends
- BitmapFilter
Members
指定されたクラスの空間名を返します。
Returns the space name of the specified class.- Default Value:
- next2d.filters.DisplacementMapFilter
アルファ透明度の値です。
The alpha transparency value for the color.- Default Value:
- 0
範囲外置き換えの場合に使用する色を指定します。
Specifies what color to use for out-of-bounds displacements.- Default Value:
- 0
x の結果を変位させる場合にどのカラーチャンネルをマップイメージで使用するかを指定します。
Describes which color channel to use in the map image to displace the x result.- Default Value:
- 0
y の結果を変位させる場合にどのカラーチャンネルをマップイメージで使用するかを指定します。
Describes which color channel to use in the map image to displace the y result.- Default Value:
- 0
置き換えマップデータが含まれる BitmapData オブジェクトです。
A BitmapData object containing the displacement map data.- Default Value:
- null
マップイメージの左上隅を基準としたターゲット表示オブジェクトの
左上隅のオフセットが含まれる値です。
A value that contains the offset of the upper-left corner
of the target display object from the upper-left corner of the map image.- Default Value:
- null
フィルターのモードです。
The mode for the filter.- Default Value:
- DisplacementMapFilterMode.WRAP
指定されたオブジェクトの空間名を返します。
Returns the space name of the specified object.- Default Value:
- next2d.filters.DisplacementMapFilter
マップ計算の x 置き換え結果を拡大 / 縮小する場合に使用する乗数です。
The multiplier to use to scale the x displacement result from the map calculation.- Default Value:
- 0
マップ計算の y 置き換え結果を拡大 / 縮小する場合に使用する乗数です。
The multiplier to use to scale the y displacement result from the map calculation.- Default Value:
- 0
Methods
指定されたクラスのストリングを返します。
Returns the string representation of the specified class.- Default Value:
- [class DisplacementMapFilter]
Returns:
Type Description string オブジェクトのコピーを返します。
Returns a copy of this filter object.Returns:
Type Description DisplacementMapFilter 指定されたオブジェクトのストリングを返します。
Returns the string representation of the specified object.- Default Value:
- [object DisplacementMapFilter]
Returns:
Type Description string