DiamondWipe

Wipe the content away through a lattice of growing diamonds

Props

  • progress

    How far the diamonds have grown (0 = fully visible, 1 = fully wiped away)

    Type
    number
    Default
    0.5
  • size

    Size of each diamond cell as a fraction of the frame width

    Type
    number
    Default
    0.15
  • feather

    Softness of each diamond edge

    Type
    number
    Default
    0.1
  • invert

    Wipe from the cell corners inward instead

    Type
    boolean
    Default
    false

Usage

<Shader>
  <DiamondWipe>
    <Circle />
  </DiamondWipe>
</Shader>