Creates 3d menues and windows.
|
__init__(scale,
n,
d)
The constructor of the vrMenu class. |
|
|
|
addCheckBox(text,
o,
text,
o,
style)
Adds a checkbox to the menu. |
|
|
|
addLabel(text,
text,
style)
Adds a label to the menu. |
|
|
|
addPushButton(text,
o,
text,
o,
style)
Adds a push button to the menu. |
|
|
|
addSeparator()
Adds a separator to the menu. |
|
|
|
click()
Clicks on the widget with the current focus. |
|
|
|
getClickThroughAlphaThreshold()
Return click through alpha range value |
|
|
|
getImage()
Return last clicked image |
|
|
|
getUrl()
Return last clicked image |
|
|
|
|
|
nextFocus()
Finds the next widget to give the keyboard focus on. |
|
|
|
prevFocus()
Finds the previous widget to give the keyboard focus on. |
|
|
|
setAlpha(alpha)
Sets the transparency of the menu. |
|
|
|
setAutoResize(factor)
Scales the menu dependend on the current render window size. |
|
|
|
|
|
setHtml(url,
url,
width,
height)
Shows a web browser window with the provided html code instead of a
user defined menu. |
|
|
|
|
|
setNode(node)
Maps the menu on to a geometry node. |
|
|
|
setPosition2D(x,
y,
x,
y,
back)
Sets the menu at a 2D position on the screen. |
|
|
|
|
|
setText(id,
text,
id,
text,
style)
Changes the text. |
|
|
|
setTransform(tx,
ty,
tz,
rx,
ry,
rz)
Sets the translation and rotation of the menu. |
|
|
|
setUrl(url,
url,
width,
height)
Shows a web browser window with the provided url instead of a user
defined menu. |
|
|
|
setWindow(name)
Shows a module window with the provided name instead of a user
defined menu. |
|
|
|
setWindowResize(name,
width,
height)
Shows a module window with the provided name resizing it to width
times height. |
|
|
|
|
|
toggleShow()
Toggles the menu. |
|
|
|
update()
Updates the menu. |
|
|
Inherited from vrAEBase.vrAEBase :
__reduce__ ,
addLoop ,
callAllConnected ,
connect ,
connectSignal ,
emitSignal ,
getModuleName ,
isActive ,
loop ,
recEvent ,
removeConnections ,
setActive ,
setUpdateGUIEnabled ,
subLoop
Inherited from unreachable.instance :
__new__
|