Mirror
Mirror content across a line defined by center point and angle
Mirror content across a line defined by center point and angle
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| center | position | {"x":0.5,"y":0.5} | The point the mirror line passes through |
| angle | range | 0 | The angle of the mirror line in degrees |
| edges | "stretch" | "transparent" | "mirror" | "wrap" | mirror | How to handle edges when distortion pushes content out of bounds |
Usage
vue
<Shader>
<Mirror>
<Circle />
</Mirror>
</Shader>