FilterFunctionType
The filter function type for a FilterFunction.
読み終わるまでの所要時間 1 分最終更新 2ヶ月前
Definition
- Type: Enum
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public enum FilterFunctionType
Fields
Value | Description |
|---|---|
| Blur | A built-in blur filter function that expects a single float value (sigma). |
| Contrast | A built-in contrast filter function that expects a single float value (percent). |
| Custom | A custom filter function to be used with a FilterFunctionDefinition. |
| DropShadow | A built-in drop-shadow filter function that expects four parameters in order: offsetX (float, pixels), offsetY (float, pixels), blur sigma (float, pixels), color (Color). |
| Grayscale | A built-in grayscale filter function that expects a single float value between 0.0f and 1.0f (grayscale percentage). |
| HueRotate | A built-in hue-rotation filter function that expects a single float value (angle). |
| Invert | A built-in invert filter function that expects a single float value between 0.0f and 1.0f (invert percentage). |
| Opacity | A built-in opacity filter function that expects a single float value between 0.0f and 1.0f (opacity). |
| Sepia | A built-in sepia filter function that expects a single float value between 0.0f and 1.0f (sepia percentage). |
| Tint | A built-in tint filter function that expects a single color value (tint). |