GeonBit.UI Documentation
EntityIsInsideEntity Method |
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)

C#
public virtual bool IsInsideEntity( Vector2 point )
Parameters
- point
- Type: Vector2
Point to test.
Return Value
Type: BooleanTrue if point is in entity's boundaries (destination rectangle)

This function result is affected by the 'UseActualSizeForCollision' flag.
