Click or drag to resize

UtilitiesShowIORMenu Method

Display and track the context menu.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static bool ShowIORMenu(
	IntPtr hwnd,
	Point pt,
	ref double outIOR,
	ref string outString
)

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: Boolean
true if the function showed the IOR menu and something was picked.
Version Information

Rhino for Windows

Supported in: 6.6
See Also