Purpose¶
The node SoPopupMenu shows a menu of vertically arranged SoMenuItem items when the user pressed the configured mouse button.
Usage¶
Interaction¶
The default mouse button is the right mouse button.
This can be overridden with SoInteractionMapping.
Windows¶
Default Panel¶
Output Fields¶
self¶
- name: self, type: SoNode¶
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Visible Fields¶
On¶
- name: on, type: Bool, default: TRUE¶
Enabled¶
- name: enabled, type: Bool, default: TRUE¶
Icon Blend Mode¶
- name: iconBlendMode, type: Enum, default: IconReplace¶
Color¶
- name: color, type: Color, default: 1 1 1¶
Color Selected¶
- name: colorSelected, type: Color, default: 1 1 1¶
Background Color¶
- name: backgroundColor, type: Color, default: 0.5 0.5 0.5¶
Alpha (backgroundAlpha)¶
- name: backgroundAlpha, type: Float, default: 0.80000001, minimum: 0, maximum: 1¶
Background Color Selected¶
- name: backgroundColorSelected, type: Color, default: 0.699999988079071 0.699999988079071 0.699999988079071¶
Alpha (backgroundAlphaSelected)¶
- name: backgroundAlphaSelected, type: Float, default: 0.80000001, minimum: 0, maximum: 1¶
Mouse Over Color Factor¶
- name: mouseOverColorFactor, type: Float, default: 0.80000001, minimum: 0, maximum: 1¶
Disable ZBuffer¶
- name: disableZBuffer, type: Bool, default: TRUE¶
Font Size¶
- name: fontSize, type: Integer, default: 10, minimum: 0¶
Text Shadow¶
- name: textShadow, type: Bool, default: TRUE¶
Outer Border¶
- name: itemOuterBorder, type: Float, default: 1, minimum: 0¶
Inner Border¶
- name: itemInnerBorder, type: Float, default: 3, minimum: 0¶
Gap Between Icon and Text¶
- name: textIconGap, type: Integer, default: 4, minimum: 0¶