Test if a given point is inside entity's boundaries.
Namespace:
GeonBit.UI.Entities
Assembly:
GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public virtual bool IsTouching(
Vector2 point
)
Parameters
- point
- Type: Vector2
Point to test.
Return Value
Type:
BooleanTrue if point is in entity's boundaries (destination rectangle)
Remarks This function result is affected by the 'UseActualSizeForCollision' flag.
See Also