/// <summary> /// Contents of the gumball are copied to the base gumball of this class. /// </summary> /// <param name="gumball">The gumball source.</param> /// <param name="appearanceSettings">The gumball appearance and behavior settings.</param> /// <since>5.0</since> public void SetBaseGumball(GumballObject gumball, GumballAppearanceSettings appearanceSettings) { IntPtr pConstGumball = gumball.ConstPointer(); IntPtr pThis = NonConstPointer(); IntPtr pAppearanceSettings = IntPtr.Zero; if (appearanceSettings != null) { pAppearanceSettings = appearanceSettings.CreatePointer(); } UnsafeNativeMethods.CRhinoGumballDisplayConduit_SetBaseGumball(pThis, pConstGumball, pAppearanceSettings); }
/// <summary> /// Contents of the gumball are copied to the base gumball of this class. /// </summary> /// <param name="gumball">The gumball source.</param> /// <since>5.0</since> public void SetBaseGumball(GumballObject gumball) { SetBaseGumball(gumball, null); }