public WebPanelLayout(X3DMaterial fgMat, X3DMaterial bgMat, X3DMaterial txtMat) { TopPanelBackGround = bgMat; BottomPanelForground = fgMat; BottomPanelBackGround = bgMat; BottomPanelText = txtMat; }
public X3DAppearance() { //<ImageTexture url='"images/marble.jpg"' /> TagName = "Appearance"; Material = new X3DMaterial(); ImageTexture = new X3DImageTexture(); Movement = new X3DMovement(); }
public WebPanelLayout() { double transparancy_BG = 0.6; double transparancy_FG = 0.2; Vector3 bottomPanelDiffuceColor = new Vector3(0.1, 0.1, 0); TopPanelBackGround = new X3DMaterial("Menu_Panel_BG", bottomPanelDiffuceColor, transparancy_BG); BottomPanelForground = new X3DMaterial("bottom_panel_FG", bottomPanelDiffuceColor, transparancy_FG); BottomPanelBackGround = new X3DMaterial("Menu_Panel_BG", bottomPanelDiffuceColor, transparancy_BG); BottomPanelText = new X3DMaterial("Menu_FrontPanel_Txt", new Vector3()); }
public WebPanelLayout(CallingDevices callingApp) { double transparancy_BG = 0.6; double transparancy_FG = 0.2; Vector3 bottomPanelDiffuceColor = new Vector3(0.1, 0.1, 0); if (callingApp == CallingDevices.HoloLens) { bottomPanelDiffuceColor = new Vector3(0.4, 0.4, 0); } TopPanelBackGround = new X3DMaterial("Menu_Panel_BG", bottomPanelDiffuceColor, transparancy_BG); BottomPanelForground = new X3DMaterial("bottom_panel_FG", bottomPanelDiffuceColor, transparancy_FG); BottomPanelBackGround = new X3DMaterial("Menu_Panel_BG", bottomPanelDiffuceColor, transparancy_BG); BottomPanelText = new X3DMaterial("Menu_FrontPanel_Txt", new Vector3()); }