IrrlichtNETCP.GUIEnvironment.AddContextMenu C# (CSharp) Method

AddContextMenu() public method

public AddContextMenu ( IrrlichtNETCP.Rect rectangle, GUIElement parent, int id ) : GUIContextMenu
rectangle IrrlichtNETCP.Rect
parent GUIElement
id int
return GUIContextMenu
        public GUIContextMenu AddContextMenu(Rect rectangle, GUIElement parent, int id)
        {
            IntPtr par = (parent == null ? IntPtr.Zero : parent.Raw);
            return (GUIContextMenu)NativeElement.GetObject(GuiEnv_AddContextMenu(_raw, rectangle.ToUnmanaged(), par, id),
                                                      typeof(GUIContextMenu));
        }