Version: 5.6
public static int visibleLayers ;

説明

表示しているレイヤーを取得します

これはビットフィールドです。