Skip to content

EffectDOORWAY

Anatoly edited this page Feb 12, 2016 · 1 revision

ShaderTransitionView.EffectDOORWAY

ShaderTransitionView.EffectDOORWAY

STView {
    transition: ShaderTransitionView.EffectDOORWAY
    transitionOptions: { "forward":true, "reflection":0.4, "perspective":0.4, "depth":2 }
}

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 much the foreground view has a perspective effect when it's opening. The closer the value to zero the less the perspective effect is. The default value is 0.4.
  • real depth - the option defines how deep one goes away back replacing by the next one. The default value is 2.
Clone this wiki locally