RectangularCoordinates
Convert polar coordinates back to rectangular space
Convert polar coordinates back to rectangular space
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| center | position | {"x":0.5,"y":0.5} | The center point for rectangular coordinate conversion |
| scale | range | 1 | Scale factor for the rectangular output |
| intensity | range | 1 | Blends between original UVs (0) and rectangular coordinates (1) |
| edges | "stretch" | "transparent" | "mirror" | "wrap" | transparent | How to handle edges when distortion pushes content out of bounds |
Usage
vue
<Shader>
<RectangularCoordinates
:intensity="1"
>
<Circle />
</RectangularCoordinates>
</Shader>