Skip to content

EffectSWAP

Anatoly edited this page Feb 12, 2016 · 1 revision

ShaderTransitionView.EffectSWAP

ShaderTransitionView.EffectSWAP

STView {
    transition: ShaderTransitionView.EffectSWAP
    transitionOptions: { "forward":true, "reflection":0.4, "perspective":0.2, "depth":3 }
}

Options:

  • bool forward - the option defines a direction of animation which will be applied. The default value is true.
  • real reflection - the option defines how intensively the reflection is. The default value is 0.4.
  • real perspective - the option defines how far one view turns back replacing by the next one. The default value is 0.2.
  • real depth - the option defines how deep one view moves back replacing by the next one. The default value is 3.0.
Clone this wiki locally