public static bool arwGetVideoParamsStereo(out int widthL, out int heightL, out int pixelSizeL, out String pixelFormatL, out int widthR, out int heightR, out int pixelSizeR, out String pixelFormatR) { StringBuilder sbL = new StringBuilder(128); StringBuilder sbR = new StringBuilder(128); bool ok; if (Application.platform == RuntimePlatform.IPhonePlayer) { ok = ARNativePluginStatic.arwGetVideoParamsStereo(out widthL, out heightL, out pixelSizeL, sbL, sbL.Capacity, out widthR, out heightR, out pixelSizeR, sbR, sbR.Capacity); } else { ok = ARNativePlugin.arwGetVideoParamsStereo(out widthL, out heightL, out pixelSizeL, sbL, sbL.Capacity, out widthR, out heightR, out pixelSizeR, sbR, sbR.Capacity); } if (!ok) { pixelFormatL = ""; pixelFormatR = ""; } else { pixelFormatL = sbL.ToString(); pixelFormatR = sbR.ToString(); } return(ok); }