Ejemplo n.º 1
0
    static void Init()
    {
        // Get existing open window or if none, make a new one:
        ZEDEditor window = (ZEDEditor)EditorWindow.GetWindow(typeof(ZEDEditor), false, "ZED Camera");

        style.normal.textColor = Color.red;
        style.fontSize         = 15;
        style.margin.left      = 5;

        parameters = new sl.CameraInformations();
        window.Show();
    }
Ejemplo n.º 2
0
    static void Init()
    {
        // Get existing open window or if none, make a new one:
        ZEDEditor window = (ZEDEditor)EditorWindow.GetWindow(typeof(ZEDEditor));

        style.normal.textColor = Color.red;
        style.fontSize         = 15;
        style.margin.left      = 5;

        parameters = new sl.zed.StereoParameters();
        parameters.leftCam.disto  = new double[5];
        parameters.rightCam.disto = new double[5];

        window.Show();
    }