UtilitiesShowIORMenu Method |
Display and track the context menu.
Namespace:
Rhino.Render
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax public static bool ShowIORMenu(
IntPtr hwnd,
Point pt,
ref double outIOR,
ref string outString
)
Public Shared Function ShowIORMenu (
hwnd As IntPtr,
pt As Point,
ByRef outIOR As Double,
ByRef outString As String
) As Boolean
Parameters
- hwnd
- Type: SystemIntPtr
The window that displays the menu, for example an edit box. - pt
- Type: System.DrawingPoint
The position to display the menu at inside the window - outIOR
- Type: SystemDouble
Accepts the IOR value of the user's chosen substance - outString
- Type: SystemString
Accepts the name of the user's chosen substance. Can be null if not required.
Return Value
Type:
Booleantrue if the function showed the IOR menu and something was picked.
See Also