public static CollidingWithMouse ( this @this ) : bool | ||
@this | this | |
Résultat | bool |
public static bool CollidingWithMouse(this Body @this)
{
var pos = ConvertUnits.ToSimUnits(ArtemisEngine.Mouse.PositionVector);
return @this.FixtureList.Any(f => f.TestPoint(ref pos));
}
BodyExtensions::CollidingWithMouse ( this @this, AbstractRenderLayer layer ) : bool | |
BodyExtensions::CollidingWithMouse ( this @this, WorldRenderLayer layer ) : bool |