コンテンツにスキップ

PopItemWidth()#

PopItemWidth(width)#

guiの表示幅を復帰します。

パラメータ#

戻り値#

コメント#

サンプル#

1
2
3
4
5
6
        if vrmapi.ImGui().TreeNode("tree1", "Tree-A"):
            vrmapi.ImGui().PushItemWidth(160.0)
            vrmapi.ImGui().InputFloat("f1", "浮動小数点数", fNum)
            vrmapi.ImGui().InputInt("n1", "整数", nNum)
            vrmapi.ImGui().PopItemWidth()
            vrmapi.ImGui().TreePop()