EndMenuBar()#
EndMenuBar()#
メニューバーを終了します。
パラメータ#
戻り値#
コメント#
サンプル#
vrmapi.ImGui().Begin("w1","Sample", tr_win, vrmapi.ImGuiWindowFlags.MenuBar)
if vrmapi.ImGui().BeginMenuBar() :
if vrmapi.ImGui().BeginMenu("me1","MENU") :
if vrmapi.ImGui().MenuItem("mi1","ROT-0","") :
tr_rot[0] = 0.0
if vrmapi.ImGui().MenuItem("mi2","ROT-90","") :
tr_rot[0] = 90.0
if vrmapi.ImGui().MenuItem("mi3","ROT-180","") :
tr_rot[0] = 180.0
vrmapi.ImGui().EndMenu()
vrmapi.ImGui().EndMenuBar()