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

Method Step

Examples/StereoKitTest/Docs/DocFeatureImage.cs:44–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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}

Callers

nothing calls this directly

Calls 15

ToMatrixMethod · 0.80
WindowBeginMethod · 0.80
ImageMethod · 0.80
HSeparatorMethod · 0.80
TextMethod · 0.80
VSpaceMethod · 0.80
PanelBeginMethod · 0.80
ButtonMethod · 0.80
SameLineMethod · 0.80
LabelMethod · 0.80
HSliderMethod · 0.80
PanelEndMethod · 0.80

Tested by

no test coverage detected