depth property

int depth
final

Any layers past this number will have the same parallax effect factors (offsets, rotations).

Default is -1 and triggers every layer to have progressively greater parallax factor values than the previous layer, except for AutoXL.pane which defaults to 2.


Example: depth == -1 (default) with layers length == 4, the second, third, fourth layer will all have greater parallax factors than the last.


Example: depth == 2 with layers length == 4, the second, third and fourth layers will all have the same parallax factors.

Implementation

final int depth;