Skip to content

Classes

GlobalDescription
ToneFilterPIXI.filters.ColorMatrixFilter

Functions

GlobalDescription
adjustHue(value)

改变色相。 Changes the hue.

adjustSaturation(value)

改变饱和度。 Changes the saturation.

adjustTone(r, g, b)

改变色调。 Changes the tone.

ToneFilter ⇐ PIXI.filters.ColorMatrixFilter

Kind: global class
Extends: PIXI.filters.ColorMatrixFilter


new ToneFilter()

用于 WebGL 的颜色矩阵滤镜。
The color matrix filter for WebGL.


adjustHue(value)

改变色相。
Changes the hue.

Kind: global function

ParamTypeDescription
valueNumber色相值,范围(-360, 360) The hue value in the range (-360, 360)

adjustSaturation(value)

改变饱和度。
Changes the saturation.

Kind: global function

ParamTypeDescription
valueNumber饱和度值,范围(-255, 255) The saturation value in the range (-255, 255)

adjustTone(r, g, b)

改变色调。
Changes the tone.

Kind: global function

ParamTypeDescription
rNumber红色强度,范围(-255, 255) The red strength in the range (-255, 255)
gNumber绿色强度,范围(-255, 255) The green strength in the range (-255, 255)
bNumber蓝色强度,范围(-255, 255) The blue strength in the range (-255, 255)

贡献者

暂无相关贡献者

页面历史

暂无最近变更历史
最近更新