()
| 42 | } |
| 43 | |
| 44 | public void Step() |
| 45 | { |
| 46 | |
| 47 | helmet.Draw(helmetPose.ToMatrix(.1f)); |
| 48 | |
| 49 | UI.WindowBegin(" Welcome!", ref clipboardPose, V.XY(.26f,0)); |
| 50 | UI.Image(logoSprite, new Vec2(24, 0) * U.cm); |
| 51 | |
| 52 | UI.HSeparator(); |
| 53 | |
| 54 | UI.Text("StereoKit is a C#, code-first, lightweight Mixed Reality engine. Welcome back to .NET! :)\n\nBuilt around an intuitive API, an MR friendly UI, MR interaction systems, and more!"); |
| 55 | |
| 56 | UI.VSpace(UI.LineHeight*0.5f); |
| 57 | |
| 58 | UI.PanelBegin(); |
| 59 | UI.Button("Load File"); |
| 60 | UI.SameLine(); |
| 61 | UI.Label("DamagedHelmet.gltf"); |
| 62 | |
| 63 | UI.Label("Scale:"); |
| 64 | UI.SameLine(); |
| 65 | UI.HSlider("Slide", ref clipSlider, 0, 1, 0, 0, UIConfirm.Pinch); |
| 66 | UI.PanelEnd(); |
| 67 | |
| 68 | UI.WindowEnd(); |
| 69 | |
| 70 | Tests.Screenshot("FeatureImage.jpg", 1, 830, 480, 90, screenshotFrom, screenshotAt); |
| 71 | } |
| 72 | } |
nothing calls this directly
no test coverage detected