private void btnScaleV_Click(object sender, EventArgs e) { using (Dialogs.ScriptEditor editor = new Dialogs.ScriptEditor(_materialPass.Textures.ScaleT)) { editor.ShowDialog(); _materialPass.Textures.ScaleT = editor.Expression; } UpdateScriptPreview(tbScaleV, _materialPass.Textures.ScaleT, "1.0"); }
private void btnRotateCenterT_Click(object sender, EventArgs e) { using (Dialogs.ScriptEditor editor = new Dialogs.ScriptEditor(_materialPass.Textures.RotateCenterT)) { editor.ShowDialog(); _materialPass.Textures.RotateCenterT = editor.Expression; } UpdateScriptPreview(tbRotateCenterV, _materialPass.Textures.RotateCenterT, "0.0"); }
private void btnTranslateU_Click(object sender, EventArgs e) { using (Dialogs.ScriptEditor editor = new Dialogs.ScriptEditor(_materialPass.Textures.TranslateS)) { editor.ShowDialog(); _materialPass.Textures.TranslateS = editor.Expression; } UpdateScriptPreview(tbTranslateU, _materialPass.Textures.TranslateS, "0.0"); }