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