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

Method ShowWindowButton

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

Source from the content-addressed store, hash-verified

40 ///
41 Pose windowPoseButton = new Pose(0, 0, 0, Quat.Identity);
42 void ShowWindowButton()
43 {
44 UI.WindowBegin("Window Button", ref windowPoseButton);
45
46 if (UI.Button("Press me!"))
47 Log.Info("Button was pressed.");
48
49 UI.WindowEnd();
50 }
51 /// :End:
52
53 /// :CodeSample: UI.Toggle

Callers

nothing calls this directly

Calls 4

WindowBeginMethod · 0.80
ButtonMethod · 0.80
InfoMethod · 0.80
WindowEndMethod · 0.80

Tested by

no test coverage detected