TouchScript.TouchManager.IsInvalidPosition C# (CSharp) Method

IsInvalidPosition() public static method

Determines whether a Vector2 represents an invalid position, i.e. if it is equal to INVALID_POSITION.
public static IsInvalidPosition ( Vector2 position ) : bool
position Vector2 Screen position.
return bool
        public static bool IsInvalidPosition(Vector2 position)
        {
            return position.Equals(INVALID_POSITION);
        }