Example #1
0
 /// <summary>
 /// Check visibility.
 /// </summary>
 public bool CheckVisibility(Drawable2D drawable)
 {
     Runtime.ValidateRefCounted(this);
     return(Renderer2D_CheckVisibility(handle, (object)drawable == null ? IntPtr.Zero : drawable.Handle));
 }
Example #2
0
 /// <summary>
 /// Remove Drawable2D.
 /// </summary>
 public void RemoveDrawable(Drawable2D drawable)
 {
     Runtime.ValidateRefCounted(this);
     Renderer2D_RemoveDrawable(handle, (object)drawable == null ? IntPtr.Zero : drawable.Handle);
 }