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

Method LogWindow

Examples/StereoKitTest/Docs/DocLog.cs:57–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 }
56
57 static void LogWindow()
58 {
59 UI.WindowBegin("Log", ref logPose, new Vec2(40, 0) * U.cm);
60
61 UI.LayoutPushCut(UICut.Right, UI.LineHeight);
62 if (UI.VSlider("scroll", ref logIndex, 0, Math.Max(logList.Count - 3, 0), 1))
63 UpdateLogStr((int)logIndex);
64 UI.LayoutPop();
65
66 UI.Text(logString);
67 UI.WindowEnd();
68 }
69 /// :End:
70}

Callers

nothing calls this directly

Calls 7

WindowBeginMethod · 0.80
LayoutPushCutMethod · 0.80
VSliderMethod · 0.80
LayoutPopMethod · 0.80
TextMethod · 0.80
WindowEndMethod · 0.80
MaxMethod · 0.45

Tested by

no test coverage detected