public override bool HandleMouseInput(MouseInput mi) { return(RenderBounds.Contains(mi.Location)); }
public HitResult HitTest(Vector2 hitPosition) { return(bodyGeometry?.HitTest(this, hitPosition) ?? (RenderBounds.Contains(hitPosition) ? new HitResult(this, HitTarget.Node) : null)); }