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

Method ShowWindowInput

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

Source from the content-addressed store, hash-verified

147 Pose windowPoseInput = new Pose(1.2f, 0, 0, Quat.Identity);
148 string inputState = "Initial text";
149 void ShowWindowInput()
150 {
151 UI.WindowBegin("Window Input", ref windowPoseInput);
152
153 // Add a small label in front of it on the same line
154 UI.Label("Text:");
155 UI.SameLine();
156 if (UI.Input("Text", ref inputState))
157 Log.Info($"Input text just changed");
158
159 UI.WindowEnd();
160 }
161 /// :End:
162
163 /// :CodeSample: UI.Radio

Callers

nothing calls this directly

Calls 6

WindowBeginMethod · 0.80
LabelMethod · 0.80
SameLineMethod · 0.80
InputMethod · 0.80
InfoMethod · 0.80
WindowEndMethod · 0.80

Tested by

no test coverage detected