Esempio n. 1
0
    void AllBlack(float duration)
    {
        for (int i = 0; i < expanDialSticks.NbRows; i++)
        {
            for (int j = 0; j < expanDialSticks.NbColumns; j++)
            {
                expanDialSticks.modelMatrix[i, j].TargetColor = Color.black;
                expanDialSticks.modelMatrix[i, j].TargetTextureChangeDuration = duration;
            }
        }

        expanDialSticks.setBorderBackground(Color.black);
        expanDialSticks.triggerTextureChange();
    }
Esempio n. 2
0
    void AllBlack(float duration)
    {
        for (int i = 0; i < expanDialSticks.NbRows; i++)
        {
            for (int j = 0; j < expanDialSticks.NbColumns; j++)
            {
                expanDialSticks.modelMatrix[i, j].TargetPlaneTexture  = "default";
                expanDialSticks.modelMatrix[i, j].TargetPlaneRotation = aiguilleRotation;

                expanDialSticks.modelMatrix[i, j].TargetProjectorTexture        = "projector";
                expanDialSticks.modelMatrix[i, j].TargetProjectorRotation       = cadranRotation;
                expanDialSticks.modelMatrix[i, j].TargetProjectorSize           = 0f;
                expanDialSticks.modelMatrix[i, j].TargetProjectorColor          = Color.white;
                expanDialSticks.modelMatrix[i, j].TargetProjectorChangeDuration = duration;

                expanDialSticks.modelMatrix[i, j].TargetColor = Color.black;
                expanDialSticks.modelMatrix[i, j].TargetTextureChangeDuration = duration;
            }
        }
        expanDialSticks.setBorderBackground(Color.black);
        expanDialSticks.triggerTextureChange();
    }
Esempio n. 3
0
 private void DebugInSitu(string message, Color textColor, Color backgroundColor)
 {
     expanDialSticks.setBottomBorderText(TextAlignmentOptions.Center, 16, textColor, message, new Vector3(90f, -90f, 0f));
     expanDialSticks.setBorderBackground(backgroundColor);
     expanDialSticks.triggerTextureChange();
 }