MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / Step

Method Step

Examples/StereoKitTest/Docs/DocUI.cs:14–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12 }
13
14 public void Step()
15 {
16 ShowWindowButton ();
17 ShowWindowToggle ();
18 ShowWindowSeparator();
19 ShowWindowSlider ();
20 ShowWindowInput ();
21 ShowWindowRadio ();
22
23 Tests.Screenshot("UI/ButtonWindow.jpg", 1, 500, 400, 50, V.XYZ(.0f,-0.02f,-.2f), V.XYZ(.0f,-0.02f,0));
24 Tests.Screenshot("UI/ToggleWindow.jpg", 1, 500, 400, 50, V.XYZ(.3f,-0.04f,-.2f), V.XYZ(.3f,-0.04f,0));
25 Tests.Screenshot("UI/SeparatorWindow.jpg", 1, 500, 400, 50, V.XYZ(.6f,-0.07f,-.2f), V.XYZ(.6f,-0.07f,0));
26 Tests.Screenshot("UI/SliderWindow.jpg", 1, 500, 400, 45, V.XYZ(.9f,-0.02f,-.2f), V.XYZ(.9f,-0.02f,0));
27 Tests.Screenshot("UI/InputWindow.jpg", 1, 500, 400, 45, V.XYZ(1.2f,-0.02f,-.2f), V.XYZ(1.2f,-0.02f,0));
28 Tests.Screenshot("UI/RadioWindow.jpg", 1, 500, 500, 55, V.XYZ(1.5f,-0.06f,-.2f), V.XYZ(1.5f,-0.06f,0));
29 }
30
31 /// :CodeSample: UI UI.Button UI.WindowBegin UI.WindowEnd
32 /// ### A simple button

Callers

nothing calls this directly

Calls 2

ScreenshotMethod · 0.45
XYZMethod · 0.45

Tested by

no test coverage detected