private void butOK_Click(object sender, EventArgs e)
        {
            Tools.UpdateVector3Control(gravityControl, Loader.Core.RootNode, "babylonjs_gravity");
            Tools.UpdateCheckBox(chkQuaternions, Loader.Core.RootNode, "babylonjs_exportquaternions");
            Tools.UpdateCheckBox(chkAnimations, Loader.Core.RootNode, "babylonjs_donotoptimizeanimations");

            Tools.UpdateCheckBox(chkCreateDefaultSkybox, Loader.Core.RootNode, "babylonjs_createDefaultSkybox");
            Tools.UpdateNumericUpDown(nupSkyboxBlurLevel, new List <IINode> {
                Loader.Core.RootNode
            }, "babylonjs_skyboxBlurLevel");

            Tools.UpdateCheckBox(chkAddDefaultLight, Loader.Core.RootNode, "babylonjs_addDefaultLight");

            Tools.UpdateCheckBox(chkAutoPlay, Loader.Core.RootNode, "babylonjs_sound_autoplay");
            Tools.UpdateCheckBox(chkLoop, Loader.Core.RootNode, "babylonjs_sound_loop");
            Tools.UpdateNumericUpDown(nupVolume, new List <IINode> {
                Loader.Core.RootNode
            }, "babylonjs_sound_volume");

            Tools.UpdateCheckBox(chkMorphExportTangent, Loader.Core.RootNode, "babylonjs_export_Morph_Tangents");
            Tools.UpdateCheckBox(ckkMorphExportNormals, Loader.Core.RootNode, "babylonjs_export_Morph_Normals");

            Tools.UpdateTextBox(txtSound, new List <IINode> {
                Loader.Core.RootNode
            }, "babylonjs_sound_filename");
        }
示例#2
0
        private void butOK_Click(object sender, EventArgs e)
        {
            Tools.UpdateCheckBox(chkCollisions, cameras, "babylonjs_checkcollisions");
            Tools.UpdateCheckBox(chkGravity, cameras, "babylonjs_applygravity");

            Tools.UpdateNumericUpDown(nupSpeed, cameras, "babylonjs_speed");
            Tools.UpdateNumericUpDown(nupInertia, cameras, "babylonjs_inertia");

            Tools.UpdateVector3Control(ellipsoidControl, cameras, "babylonjs_ellipsoid");
        }
示例#3
0
        private void butOK_Click(object sender, EventArgs e)
        {
            Tools.UpdateVector3Control(gravityControl, Loader.Core.RootNode, "babylonjs_gravity");
            Tools.UpdateCheckBox(chkQuaternions, Loader.Core.RootNode, "babylonjs_exportquaternions");

            Tools.UpdateCheckBox(chkAutoPlay, Loader.Core.RootNode, "babylonjs_sound_autoplay");
            Tools.UpdateCheckBox(chkLoop, Loader.Core.RootNode, "babylonjs_sound_loop");
            Tools.UpdateNumericUpDown(nupVolume, new List <IINode> {
                Loader.Core.RootNode
            }, "babylonjs_sound_volume");

            Tools.UpdateTextBox(txtSound, new List <IINode> {
                Loader.Core.RootNode
            }, "babylonjs_sound_filename");
        }
        private void butOK_Click(object sender, EventArgs e)
        {
            Tools.UpdateCheckBox(chkNoExport, cameras, "babylonjs_noexport");
            Tools.UpdateCheckBox(chkCollisions, cameras, "babylonjs_checkcollisions");
            Tools.UpdateCheckBox(chkGravity, cameras, "babylonjs_applygravity");

            Tools.UpdateNumericUpDown(nupSpeed, cameras, "babylonjs_speed");
            Tools.UpdateNumericUpDown(nupInertia, cameras, "babylonjs_inertia");

            Tools.UpdateVector3Control(ellipsoidControl, cameras, "babylonjs_ellipsoid");

            Tools.UpdateCheckBox(chkAutoAnimate, cameras, "babylonjs_autoanimate");
            Tools.UpdateCheckBox(chkLoop, cameras, "babylonjs_autoanimateloop");
            Tools.UpdateNumericUpDown(nupFrom, cameras, "babylonjs_autoanimate_from");
            Tools.UpdateNumericUpDown(nupTo, cameras, "babylonjs_autoanimate_to");
        }
 private void butOK_Click(object sender, EventArgs e)
 {
     Tools.UpdateVector3Control(gravityControl, Kernel.Scene.RootNode._Node, "babylonjs_gravity");
 }
示例#6
0
 private void butOK_Click(object sender, EventArgs e)
 {
     Tools.UpdateVector3Control(gravityControl, Loader.Core.RootNode, "babylonjs_gravity");
     Tools.UpdateCheckBox(chkQuaternions, Loader.Core.RootNode, "babylonjs_exportquaternions");
 }